Réponse apportée
How to get rid of the error: Error using horzcat. Dimensions of matrices being concatenated are not consistent
In general, this error means that the matrix you're trying to concatenate on the right hand side of your existing matrix does no...

17 jours il y a | 0

Réponse apportée
how to remove connectec components from original image?
I don't believe imwrite will write the overlay objects, such as circles, into the image. Did yoiu recall dd.png to check if the...

17 jours il y a | 0

| A accepté

Réponse apportée
retrieve version inside AppDesigner appplication (.mlapp file)
Did you try s = ver('MATLAB'); releaseYear = s.Release(2:end-1); releaseVersion = s.Version; fprintf('You are using MATL...

18 jours il y a | 0

Réponse apportée
Determine the area of the nodules (in pixels)
It looks rather tough since the abnormalities are of about the same brightness as the bones. But there does seem to be a differ...

18 jours il y a | 0

Réponse apportée
Create number of for loops depending on size of N
OK, a not-clever but brainless and verbose approach is to just make a set of "if" blocks if N == 2 % Code for N=2 elseif ...

18 jours il y a | 0

| A accepté

Réponse apportée
How to apply attention mechanism to object detection in RGB images
I don't know what an attention mechanism is. Try these links on abandoned object detection: https://www.mathworks.com/search.h...

19 jours il y a | 0

| A accepté

Réponse apportée
After adding a command to get dotted line graph I am still getting solid line only in the legend i am getting dotted line
Most likely you have so many points that the dotted line between them is super short, like a pixel. What if you plot just a few...

19 jours il y a | 0

Réponse apportée
Index exceeds the number of array elements. Index must not exceed 1.
Why do you think path_length_BS_IRS_reflect_UE = 2 * sqrt(d_BS_IRS^2 + d_IRS_UE^2) should have a value for i = 2m 3m etc, when y...

19 jours il y a | 0

Réponse apportée
How can I fix this code?
I don't see how imshow would throw that error. So now we're left wondering exactly which line of code threw the error. Because...

19 jours il y a | 0

Réponse apportée
how to get Integrated circuit pads in image?
There are hundreds of papers on that. See http://www.visionbib.com/bibliography/applicat837.html#Inspection%20--%20Chips,%20Wafe...

21 jours il y a | 0

Réponse apportée
How can I show where an image was clicked from a scatter3 plot?
Not sure how to get the lab value from your click, but assuming you figure that out, you can get a binary image of all the pixel...

22 jours il y a | 1

Réponse apportée
multiple gaussian fit to xy data
@majid husseini sorry I didn't see this three years ago when you posted it, but maybe it will help someone else. See my attache...

22 jours il y a | 0

Réponse apportée
how to close a guide figure but close it without deleting the output struct
I believe you need to uncomment the guidata() line. This will update the global handles structure. Otherwise you've added the ...

22 jours il y a | 0

Réponse apportée
How can I develop a matlab code which analyses and checks how thick the cracks of a wheel surface are?
You can use regionprops, if you have the Image Processing Toolbox, to measure the number of cracks, their width, and the signal ...

22 jours il y a | 1

Réponse apportée
Counting wheat grains and marking them with image processing
First of all, you need to improve your image capture setup. Why do you have such a horrible, colored, and non-uniform lighting?...

22 jours il y a | 0

Réponse apportée
Skeletonisation until edges of a beam
Since the base/box is in a fixed permanent position, you can simply measure that location once and you have that point for all f...

23 jours il y a | 0

Réponse apportée
Mean shift clustering - issue with finding the center of my clusters
How did you read in selected_dataset.rtf? Readmatrix() does not like that extension. I don't think dbscan should take a long t...

24 jours il y a | 0

Réponse apportée
extracting values from an image with color legend
See my thermal image demo in my File Exchange. I do essentially this but for a thermal image with a colorbar. Image Analyst's ...

24 jours il y a | 0

Réponse apportée
How can I make the layout in the attached image with tiledlayout
If you understand how subplots work, it's easy. The bottom and right plots just use a 2,2 layout while the upper left two use a...

25 jours il y a | 0

Réponse apportée
Extract numeric values ​​from a colormap
You need to read that colorbar part of the image and then divide by 255. colorsInBar = rgbImage(row1:row2, col1:col2, :); [r, ...

25 jours il y a | 0

Réponse apportée
What are the possible reasons for data jumps in the plot?
I don't know where those equations come from. Is it some kind of chaos theory? Anyway, to plot in green like you asked, you ne...

25 jours il y a | 0

Réponse apportée
How to wrote code for Ramp Filter and show the firgure?
You can use linspace to create the filter. Like numPoints = 101; % Whatever bothRamps = zeros(1, numPoints); % Preallocate %...

26 jours il y a | 0

Réponse apportée
calculate the area of the black colored objectes in a image
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

27 jours il y a | 0

Réponse apportée
Calculating the area of the black objects in mm2
You need to know the length of your field of view or of some known thing in the image. See my attached spatial calibration demo...

27 jours il y a | 0

Réponse apportée
Troubles With Image Resizing
Maybe use interpn to resample the array along the "longer pixel" direction to have more samples, like the number of samples it w...

28 jours il y a | 0

Réponse apportée
Detection of storms from precipitation data
If you have the Image Processing Toolbox, this is really trivial because it has function specially built for this kind of thing....

28 jours il y a | 0

Réponse apportée
problem is related to sum of array elements ;my code pass the test individually but combinedly it is showing error
your x is a row vector, not a 2-D matrix. x(1, [1]) is the same as x(1,1) which in this case is the same as x(1) which has a va...

28 jours il y a | 1

Réponse apportée
It is difficult to control the range
See my attached splines demos.

28 jours il y a | 0

Réponse apportée
Display in the command window
You swapped the min and max x constraints. Even when I fix those, the z constraint is not met. I threw in some debug messages ...

29 jours il y a | 0

Réponse apportée
Images are rotated counter clockwise without any reason,
You can try this MATLAB function in the File Exchange to read EXIF tags: https://www.mathworks.com/matlabcentral/fileexchange/4...

29 jours il y a | 0

Charger plus