질문


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

10년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

10년 초과 전 | 답변 수: 3 | 0

3

답변

질문


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

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


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

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


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

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


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

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 11년 전 | 답변 수: 0 | 0

0

답변

질문


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

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


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

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


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

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 11년 전 | 답변 수: 3 | 0

3

답변

질문


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

거의 11년 전 | 답변 수: 0 | 0

0

답변

질문


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

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 11년 전 | 답변 수: 2 | 1

2

답변

질문


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

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


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

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


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

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 11년 전 | 답변 수: 0 | 0

0

답변

질문


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

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


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

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 11년 전 | 답변 수: 0 | 0

0

답변

질문


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

거의 11년 전 | 답변 수: 1 | 0

1

답변

더 보기