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

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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 ...

nästan 6 år 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...

nästan 6 år 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 ...

nästan 6 år 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=...

nästan 6 år 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...

nästan 6 år 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...

nästan 6 år 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_...

nästan 6 år 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...

nästan 6 år 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...

ungefär 6 år ago | 1 answer | 0