Question


Output argument "pixel_location" (and maybe others) not assigned during call to ......
I'm trying to retrieve the pixel location of the pixel that meets the following criterion: if s >= maximum ...

plus de 10 ans il y a | 2 réponses | 0

2

réponses

Question


index out of bounds
I have passed a matrix "p" to some function. In that function, I want to check the four neighbourhoods of some pixel. For tha...

plus de 10 ans il y a | 3 réponses | 0

3

réponses

Question


index must be a positive integer or logical
For the following operation in my code: result = max((1)-(abs(sum_A-sum_B)/sum_A-sum_C),0); I got the following error:...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


Pixels and their locations
For instance, I have a grayscale image. For that image, say that I'm interested in viewing pixels with intensity value 77. For t...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


Making two matrices have the same size
I have the following two matrices, with the following sizes: A: 71x1 B: 14x14 How can I make them both of size ...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


four neighbourhoods of a set or matrix
It may be clear when you need to check if some pixels are neighbours to a specific region you are interested in in some image. ...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


Translate pseudocode to MATLAB
I'm going through some pseudocode, and having some issues with a part that is similar to the following: among all pixels ...

plus de 10 ans il y a | 2 réponses | 0

2

réponses

Question


Assigning the pixel location
I have the following matrix: a = 1 4 6 4 After that, I created a zero matrix `new` o...

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


Converting to a square matrix
In `MATLAB`, say that we have a matrix with the following dimensions: [11036,1] How can we convert that to a square ma...

presque 11 ans il y a | 2 réponses | 0

2

réponses

Question


Omitting negative pixels in the image representation
Say that I have an image where there are some pixels which values are negative. How can I omit those from the image representati...

presque 11 ans il y a | 1 réponse | 0

1

réponse

Question


Assigning pixels a negative value
Using some criterion, there are some pixels in the image which I'm not interested in. So, I would like to neglect them. I just w...

presque 11 ans il y a | 2 réponses | 0

2

réponses

Question


PDIST does not accept complex data for built-in distances
I got an error beside this line of code: done=pdist([a;a1],'minkowski')>=m; where a and a1 are two matrices of the same ...

presque 11 ans il y a | 1 réponse | 0

1

réponse

Question


Minkowski distance and pdist
Minkowski's distance equation can be found <http://en.wikipedia.org/wiki/Minkowski_distance here>. If we want to calculate th...

presque 11 ans il y a | 1 réponse | 0

0

réponse

Question


Finding the maximum of rows
Say that we have the following matrix: I=[3 4; 5 3; 6 3; 7 4]; If we want to find the maximum value in each row, we can ...

presque 11 ans il y a | 2 réponses | 0

2

réponses

Question


Image and data matrices
When I read some image in `MATLAB`, do we say that this image is also a *data matrix*? Or, they are two different things? If the...

presque 11 ans il y a | 2 réponses | 0

2

réponses

Question


Silhouette plot and fuzzy c-means
I'm trying to use Silhouette plot with fuzzy c-means in a way similar to the example here. The case is that my data is in the...

presque 11 ans il y a | 1 réponse | 0

1

réponse

Question


Grouping variable must be a vector or a character array
I have done the following: I=imread('image.png'); I2=im2double(I); cidx = fcm(I2,5); When I tried running th...

presque 11 ans il y a | 1 réponse | 0

1

réponse

Question


The number of rows in X must match the length of CLUST
I'm following <http://www.mathworks.com/help/stats/silhouette.html this> (Create silhouette plot) example, but on fcm. I did ...

presque 11 ans il y a | 3 réponses | 0

3

réponses

Question


Elbow method with fuzzy c-means
For using the <http://stackoverflow.com/questions/8016313/agglomerative-clustering-in-matlab elbow method> with fuzzy c-means, w...

presque 11 ans il y a | 1 réponse | 0

0

réponse

Question


Artificial Fish Swarm for image segmentation
Is there some implementation of the `Artificial Fish Swarm` for image segmentation in MATLAB? Thanks.

presque 11 ans il y a | 1 réponse | 0

1

réponse

Question


Drawing two shapes on one image
This is part of what I have done for drawing a shape on my images: ... ... k = convhull(x,y); I=imread('im...

presque 11 ans il y a | 2 réponses | 1

2

réponses

Question


I have x and y values, but, how can I draw the shape?
I have the following x and y values: 149.5000 75.5000 451.5000 279.5000 which denote (respectively): x-min y-min x-...

presque 11 ans il y a | 2 réponses | 0

2

réponses

Question


Drawing a rectangle on top of an image
Say I have a rectangle with some dimensions. If I want to draw a rectangle over an image using for instance `plot`, if I start a...

presque 11 ans il y a | 1 réponse | 0

1

réponse

Question


Finding pixel locations of labels
Assume that we have a labeled image. The labels (regions) I'm interested in that image are: 15 76 87 99 102 ...

presque 11 ans il y a | 2 réponses | 0

2

réponses

Question


Returning specific regions of a labeled image
Say that I have a labeled image, where I have calculated the area of each region. How can I return specific regions? That is, sa...

presque 11 ans il y a | 1 réponse | 0

1

réponse

Question


Saving a labeled image
I have used the function `bwlabel` to label an image as follows: [L, num] = bwlabel(I, 8); For the the image I'm worki...

presque 11 ans il y a | 1 réponse | 0

0

réponse

Question


Measuring the size of regions in an image
Say that there are some regions I'm interested in in some image. How can I measure the size of such regions in MATLAB? Thanks...

presque 11 ans il y a | 2 réponses | 0

2

réponses

Question


Region growing for multiple seeds in Matlab
Are there any functions in Matlab that enable region growing for multiple seeds? Thanks.

presque 11 ans il y a | 1 réponse | 0

1

réponse

Question


Mahalanobis distance between two vectors in MATLAB
I have the following two vectors, and trying to find the Mahalanobis distance between them. The two vectors are as follows: ...

presque 11 ans il y a | 1 réponse | 0

0

réponse

Question


Calculating the distance between patches
Is there a way in MATLAB to calculate the distance between patches of two images? Thanks.

presque 11 ans il y a | 1 réponse | 0

1

réponse

Charger plus