Question

How to check which cluster (connected component) a point belongs to in a binary image?

I have a binary image that has some clusters in it. I also have a code ( <http://www.mathworks.com/matlabcentral/fileexchange/25...

5 years ago | 1 answer | 0

Question

Parfor for tossing a line on a binary image

Is there a way to enhance the following code (the parallel loop)? If I increase the number of iterations (Itr) it takes a long t...

5 years ago | 1 answer | 0

Question

how to label a matrix and show it like an image/grid?

Is there such a way to create an image like the one below in MATLAB? I am interested in numbering *some* of the pixels in the *m...

5 years ago | 1 answer | 0

Question

How to remove the Alpha channel?

I have created an image via PowerPoint using only black and white colors and saved it as a ".tif" file. I want to convert it to ...

5 years ago | 1 answer | 0

Question

how to do FFT for PART on an image?

I want to compare the following two images based on their Fourier Transform. However, I am only interested in the circular regio...

5 years ago | 1 answer | 0

Question

How to plot a circular Image?

I want to plot a binary image like this: <</matlabcentral/answers/uploaded_files/15643/Capture.PNG>> However, I only want ...

5 years ago | 2 answers | 0

Question

How to do Subtraction on sets?

I have a *continuous* set (A=[0 , 2pi]) and want to subtract the following sets from it: B= [0, pi/2]; C=[pi/4, pi]; D=...

5 years ago | 2 answers | 0

Question

How to pick random numbers from an interval non-uniformly?

I want to pick some numbers (N) from the interval [0,2Pi] randomly. I want all the real number in the [pi/2,pi] have probability...

5 years ago | 3 answers | 0

Question

How to construct an array with varying dimension?

I want to save some data using a "for loop". Within each iteration, I will get a 2D matrix (which I want to save). the size of t...

5 years ago | 2 answers | 0

Question

why doesn't Graythresh work with the format "double"?

I have an image (gray scale, 0-255) in the form of "uint8". I only need a part of it and as such I do the following: Part_of_...

5 years ago | 1 answer | 0

Question

What do the (automatically assigned) colors in a Histogram stand for?

hi, I have a set of points (nearly 8,000) scattered in a 2D matrix. I calculated the distance between any two of them and the...

5 years ago | 1 answer | 0

Question

number of disks in a grey scale Image

I am trying to find the number of black disks in this Image. I have tried "regionprops" but the problem is first I need to conve...

5 years ago | 1 answer | 0