Domanda


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

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 10 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 3 risposte | 0

3

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 2 risposte | 1

2

risposte

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Carica altro