Answered
Add costume buttons to imagesc plot
I'd just use AppDesigner to create a GUI with an axes on it. Then use imshow() to display the image. Then have a button that s...

20 days ago | 1

Answered
If I want to get a radial profile on an image, which program should I use?
@Kengo Igarashi I think they should be the same if they, and you, implemented the correct algorithm. Are you sure they all used...

20 days ago | 0

Answered
Boundary Extraction Issue Using Image Restoration Techniques
After you call plot, do this: axis('on', 'image'); or you can do axis ij

21 days ago | 0

| accepted

Answered
Why do I get such different values for R, G and B for very similar photos?
It looks like your data for the latter plots is oscillating on an alternating element basis between two curves, hence the "solid...

27 days ago | 1

Answered
How can I find water surface temperature from landsat-9 bands?
Use multibandread to read bands 10 and 11. I'm not sure of the difference between those two bands (presumably you do), but thei...

27 days ago | 0

Answered
Curve fitting with loop
So why can't you just do what you said? Just call lsqcurvefit three times, updating variables before the second and third calls...

28 days ago | 0

Answered
Can I adjust the hyperparameters when using the Classification Learner app?
Perhaps. I know the Classification Learner app did undergo some changes around 2019. Not sure why you chose not to fill out th...

28 days ago | 0

Answered
how can i plot graph of skin friction using the bellow code.
I always use the function version of save. Try save('sliphybrid_upper.txt', 'descris', '-ascii');

28 days ago | 0

| accepted

Answered
Connecting branch points using a straight line as dictated by the skeleton
Why? Why do you think you need that? Here's what I'd do: Call bwmorph to find the branchpoints. Loop over each branchpoint an...

29 days ago | 0

Answered
how to open excel in side script
If you use Windows you can use ActiveX to open Excel and control anything in Excel. from your MATLAB code directly (no need to i...

1 month ago | 0

| accepted

Answered
Colormap editor window size is huge and cannot be resized bug
I just ran >> colormapeditor in r2024a and the default/initial window size is 538 pixels wide by 507 pixels high (verified by...

1 month ago | 0

Answered
How does a MATLAB compiled script represent the command window?
If you compile the program then anything that would be shown in the command window in the MATLAB development environment will be...

1 month ago | 0

Answered
Performing convolution - 3 signals are convolving with three corresponding signal ?
The result of a normal, full convolution is the sum of the extents of the two waveforms. You can automatically crop to the leng...

1 month ago | 0

Answered
Index in position 2 exceeds array bounds (must not exceed 175).
Why are you taking columns 1 to 350 exactly? What if it has more or less than 350 columns? Your code is not very robust in tha...

1 month ago | 1

Answered
How to transfer color and texture of an image to another image?
The best paper on gamut transfer I have see is this one: http://www.eyemaginary.com/Portfolio/ColorHistogramWarp.html Sorry,...

1 month ago | 0

Answered
How to enable Nearest Neighbor Classifier
I don't see how your code is doing any KNN classification. Where is the call to knnsearch? Are you sure you have training data...

1 month ago | 0

| accepted

Answered
Image Denoising of SEM Image
I'm going to assume you have a binary image that you just pseudocolored to be purple and yellow. (Sorry I don't have time to un...

1 month ago | 0

Answered
I do not know how to make this work??

1 month ago | 0

Answered
Segmentation of a tumor in xray
See my attached demo where I do essentially the same thing. One way to get rid of the skull is to call bwlabel and then use ism...

1 month ago | 0

Answered
Image segmentation for transparent objects in a image
If they're truly all the same color, then you can use the Color Thresholder on the Apps tab of the tool ribbon.

1 month ago | 0

Answered
How can I calculate the size of an object from a set of photos with no reference point?
If you know the total length of some thing in the image, then you can compute the number of cm per pixel and then you can measur...

1 month ago | 0

Answered
I want to find the centroid at a specific image
Your segmentation is all messed up. I probably could have fixed it for you if you had attached the original RGB image, but sinc...

1 month ago | 1

Answered
import txt file in matlab
It looks like just a simple matrix of numbers. Try readmatrix d = readmatrix(Ftable)

1 month ago | 0

| accepted

Highlighted


Ask Me Anything about image analysis or the Mathworks community
Hello, everyone! I’m Mark Hayworth, but you might know me better in the community as Image Analyst. I've been using MATLAB sinc...

1 month ago | 8

Answered
how to skip lines that start with a certain character while reading a text file
Try this: % Open the file for reading in text mode. fileID = fopen(fullFileName, 'rt'); % Read the first line of the file. t...

1 month ago | 0

Answered
Image Representation conversion to functional array
I'm not sure what you're starting with and what you want. Are you starting with a PNG image file and you want the coordinates o...

1 month ago | 0

Answered
Converting Colour RGB into a string with padding and gaps
Use sprintf to make up a custom string with the info you want, then use text to place that string somewhere on your GUI.

1 month ago | 0

| accepted

Answered
how to skip lines that start with a certain character while reading a text file
Try readlines to get each line in a cell array. Then loop over all lines skipping the ones that start with #: fprintf('Beginni...

1 month ago | 0

Answered
Use adjusted with imcontrast tool image
Using the option "Save as" under the File menu in the figure will not save the full sized image. It basically saves a screensho...

1 month ago | 0

Answered
Tracking motion of particles: using edge detection and blob analysis?
The Computer VIsion Toolbox has some tracking functionality, though I haven't used it.

1 month ago | 0

Load more