Answered
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...

2 years ago | 0

Answered
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...

2 years ago | 0

Answered
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...

2 years ago | 0

Answered
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...

2 years ago | 0

Answered
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...

2 years ago | 1

Answered
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...

2 years ago | 0

Answered
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 ...

2 years ago | 0

Answered
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 ...

2 years ago | 1

Answered
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?...

2 years ago | 0

Answered
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...

2 years ago | 0

Answered
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...

2 years ago | 0

Answered
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 ...

2 years ago | 0

Answered
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...

2 years ago | 0

Answered
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, ...

2 years ago | 0

Answered
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...

2 years ago | 0

Answered
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 %...

2 years ago | 0

Answered
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 ...

2 years ago | 0

Answered
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...

2 years ago | 0

Answered
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...

2 years ago | 0

Answered
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....

2 years ago | 0

Answered
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...

2 years ago | 1

Answered
It is difficult to control the range
See my attached splines demos.

2 years ago | 0

Answered
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 ...

2 years ago | 0

Answered
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...

2 years ago | 0

Answered
Can I update my Matlab behavior
Sometimes when pasting text in the indentation in the course was a mixture of tabs and spaces so the alignment is off. To fix t...

2 years ago | 0

Answered
Which technique to use for Satellite Imagery?
After you display the image, call impixelinfo imshow(sarImage, []); impixelinfo then mouse around over the displayed image an...

2 years ago | 0

Answered
Using 'tiledlayout', is it possible to incorporate a zoomed-in section of the main plot within the main plot itself for each tile?
You can call axes() and position it and then draw stuff in it. See my attached inset demos.

2 years ago | 0

| accepted

Answered
How to find pixels aligned along a certain direction on satellite image?
@fransec see my attached demo on fiber orientation. It identifies the local orientation of every pixel in an image. Adapt as n...

2 years ago | 0

Answered
how to remove areas of an image containing a single color?
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

2 years ago | 1

| accepted

Answered
Images are rotated counter clockwise without any reason,
Many cameras have an "orientation" tag that says what orientation the camera was in when you took the photo. I believe it's eit...

2 years ago | 0

Load more