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

nästan 11 år ago | 2 answers | 0

2

answers

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

nästan 11 år ago | 3 answers | 0

3

answers

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

nästan 11 år ago | 1 answer | 0

1

answer

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

nästan 11 år ago | 1 answer | 0

1

answer

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

nästan 11 år ago | 1 answer | 0

1

answer

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

nästan 11 år ago | 1 answer | 0

1

answer

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

nästan 11 år ago | 2 answers | 0

2

answers

Question


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

nästan 11 år ago | 1 answer | 0

1

answer

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

nästan 11 år ago | 2 answers | 0

2

answers

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

nästan 11 år ago | 1 answer | 0

1

answer

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

nästan 11 år ago | 2 answers | 0

2

answers

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

nästan 11 år ago | 1 answer | 0

1

answer

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

nästan 11 år ago | 0 answers | 0

0

answers

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

nästan 11 år ago | 2 answers | 0

2

answers

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

nästan 11 år ago | 2 answers | 0

2

answers

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

nästan 11 år ago | 1 answer | 0

1

answer

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

nästan 11 år ago | 1 answer | 0

1

answer

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

nästan 11 år ago | 3 answers | 0

3

answers

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

nästan 11 år ago | 0 answers | 0

0

answers

Question


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

nästan 11 år ago | 1 answer | 0

1

answer

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

nästan 11 år ago | 2 answers | 1

2

answers

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

nästan 11 år ago | 2 answers | 0

2

answers

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

nästan 11 år ago | 1 answer | 0

1

answer

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

nästan 11 år ago | 2 answers | 0

2

answers

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

nästan 11 år ago | 1 answer | 0

1

answer

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

nästan 11 år ago | 0 answers | 0

0

answers

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

nästan 11 år ago | 2 answers | 0

2

answers

Question


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

nästan 11 år ago | 1 answer | 0

1

answer

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

nästan 11 år ago | 0 answers | 0

0

answers

Question


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

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

1

answer

Load more