Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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.

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 1

Réponse apportée
import txt file in matlab
It looks like just a simple matrix of numbers. Try readmatrix d = readmatrix(Ftable)

environ 2 ans il y a | 0

| A accepté

Discussion


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

environ 2 ans il y a | 30

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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.

environ 2 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 0

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

environ 2 ans il y a | 0

Réponse apportée
I need help combining two sine waves
How about using cos() instead of sin() and adjusting your ending time: f=1000; n=10; T=1/f; t=(0:T/100:n*T - T/2); s = cos(...

environ 2 ans il y a | 0

Réponse apportée
make vectors same length using min function
How about x = [2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016]; y = [0, 0.05, 0.1, 0.15, 0.2]; a = [2...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Find index of a nearest value
Another solution x = [1 2 3 4 5 6 11 15 21 51 52 54 100 101 151 201 251 301 401]; targetValue = 10; [~, index] = min(abs(x - ...

environ 2 ans il y a | 1

Réponse apportée
How to detect right triangles from an image and find the three side lengths of each triangle?
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

environ 2 ans il y a | 0

Réponse apportée
warning in serial properties
If you look in the help, it will tell you. Use serialport instead. I figure you can figure out how to change your code as well...

environ 2 ans il y a | 0

Réponse apportée
Align image to 3d point cloud
You'd have to somehow project your 3-D point cloud onto a 2-D plane so it can be compared to your 3-D image. But then some of t...

environ 2 ans il y a | 0

Réponse apportée
change the color of curve from blue to any color and make it bold
You can specify the color as a 3 element vector with values between 0 and 1, or use one of the built in colors like 'r': y = ra...

environ 2 ans il y a | 1

Réponse apportée
what toolbox to include for regression
For these few data points, and for a case like this where the best fit might simply be a line, you can use the build-in polyfit ...

environ 2 ans il y a | 1

Réponse apportée
MATLAB editor configuration text extremely small
What is the "find bar"? Some of the fonts might still be controlled by the operating system so if you can't change a font siz...

environ 2 ans il y a | 0

Réponse apportée
Why does my matlab code cannot detect the number of periods in a specific time range
Is locs_gelb the yellow signal? It looks like you've already determined how many cracks you have and your loop simply inspects ...

environ 2 ans il y a | 0

Réponse apportée
I have the wrong code. How should I modify it to accomplish the goal?
That should be right, but delete lines 4-6. They should not be there. You pass in the base and height with your test function,...

environ 2 ans il y a | 0

Réponse apportée
How to remove noise of low frequency signals
One way is use envelope, envspectrum, or audioEnvelope. Once you have the envelope, just subtract the lower curve of the envelo...

environ 2 ans il y a | 0

Réponse apportée
what kind of plot is useful for comparing two matrices?
Why a plot and not a 2-D image showing differences? What would your x axis represent? If you treat your matrix as an image the...

environ 2 ans il y a | 1

Réponse apportée
How to find repeated patterns of combination of numbers in the rows of a matrix
I don't have time to try anything for you now, but did you try ismember?

environ 2 ans il y a | 0

Réponse apportée
real-time ROI and scatter plot in app designer
Once you have the ROI, you can get the x and y coordinates from the roi object. I didn't look at your code but when you then st...

environ 2 ans il y a | 0

Réponse apportée
How can I connect the upper endpoint of the red curve to the red dot while keeping the curvature nearly the same?
Try using plot after you use scatter to draw a line from the last point on the curve to the marker you placed with scatter(): f...

environ 2 ans il y a | 1

Réponse apportée
How to draw an uncertain number of sub-images in one coordinate in app designer?
Perhaps you want stackedplot. help stackedplot

environ 2 ans il y a | 0

Réponse apportée
error
The main problem is exactly what it said and that is your script is called image.m which will take priority over a very importan...

environ 2 ans il y a | 0

Charger plus