Question


Increasing the resolution of a grayscale image 16-times the original
Say that you were required to increase the resolution of a `grayscale` image by `16` times. How would that be done in `MATLAB`? ...

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

1

réponse

Question


Increasing the resolution of a grayscale image
I have a grayscale image which I need to increase its resolution, how can I do that in `MATLAB`? Thanks.

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

0

réponse

Question


Coverted a grayscale image to binary, but....
I have a `grayscale` image which I have converted to `binary`. But, when I `imwrite` it, I don't get a `binary` image. That is, ...

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

1

réponse

Question


When I write the image it appears black
I have a program that returns a `grayscale` image. But, when I try to write the image, it appears totally `black`. Why is that? ...

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

0

réponse

Question


Representing the result in grayscale
I'm working with <http://www.mathworks.com/matlabcentral/fileexchange/41967-fast-segmentation-of-n-dimensional-grayscale-images ...

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

2

réponses

Question


What does this mean in MATLAB?
I have came about a MATLAB code like the following: xyz = imfilter(A,B); xyz_subsample = xyz(1:2:size(xyz, 1), 1:2:size(...

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

2

réponses

Question


Segmenting an image according to cluster centers
Say that I want to use specific cluster center values in the <http://www.mathworks.com/help/fuzzy/fcm.html fcm> function? Can I ...

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

0

réponse

Question


Assigning index of elements
I have the following `for-loop` part of a function: for i=1:5 for j=1:2 m=x(i)-c(j); end end As a ...

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

0

réponse

Question


Segmenting an image according to a cluster center
I came to a statement while reading a paper in the meaning of: `segmenting an image according to an optimum cluster center`. ...

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

2

réponses

Question


Segmenting an image according a threshold
Say that I have a grayscale image, which values range from `[0,255]`. Say that I want the pixels which values are larger than or...

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

2

réponses

Question


Giving certain pixels a colour
For an image I have, how can I do the following in MATLAB? - Giving the pixels with values 100 for instance the colour green ...

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

1

réponse

Question


Cell arrays in MATLAB
I know what a cell array is. I just came to the following line: cell_array = cell([], 1); What does that mean? How can we re...

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

3

réponses

Question


Minimum distance classifier code
I'm trying to look for a `minimum distance classifier` in `MATLAB`. I have been looking but didn't find any yet. Do you know of ...

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

1

réponse

Question


Filling a specific region with a colour
Is there a way in MATLAB to fill a specific region with some colour? I looked at roifill, but wasn't clear if it does the work? ...

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

3

réponses

Question


Selecting all pixels except one pixel
Say that we have a 3x3 matrix. If we type x(:), this will select all the elements in the matrix, right? How can we select all...

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

1

réponse

Question


Rotating an output image
I have got a result for an image, and, when I compared the result to a ground truth, I noticed that the output is like a mirror ...

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

1

réponse

Question


Selecting the most repeated value
Say we have the following matrix: > x=[2 3 2; 4 2 3; 4 2 3; 6 43 32]; And, we do the following, such that `a` shows h...

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

1

réponse

Question


Converting an image with specific values to black and white
I have an image that has only three values(i.e; 56, 98, 170). Those values represent different labels. How can I convert such im...

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

1

réponse

Question


Example on cluster labeling
Can you show me an example on how we can use matlab to label clusters we have for an image? Thanks.

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

0

réponse

Question


Measuring the distance to specific pixels
In `matlab`, I know that I can calculate the distance between points (i.e; pixels) between two images using `pdist`. But, the...

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

0

réponse

Question


How to check how long implementation time took
Is there a way in `matlab` (i.e; function) to check how long your program took to finish running? Thanks.

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

1

réponse

Question


??? Cell contents reference from a non-cell array object.
At the following line of code: p(ismember([four_neighbourhood_cell_array{:}],[C.(sprintf('C%d',k)){:}]) == 1) = membersh...

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

1

réponse

Question


Comparing histograms using discriminate analysis
I have some histograms that I would like to compare using discriminate analysis (DA). Can I do that in matlab? Thanks.

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

0

réponse

Question


Matlab "save" and saving memory
For example, I'm trying to run a program, and since I'm having a while-loop in that program where in each iteration a new empty ...

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

0

réponse

Question


Complement of a vector
Say I have a vector with some values, and I want to create a new vector that is the complement of that defined set. How can I do...

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

1

réponse

Question


What does this matlab error mean
I was trying to run a program in `matlab` where I have used `imdilate`, but got the following error which I actually didn't unde...

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

2

réponses

Question


Differences in using pdist
In using `pdist` in `matlab`. What is the difference between the use of these two forms (notice (,) & (;)? >> pdist([x,y]...

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

1

réponse

Question


4-neighbourhood - Where did those values come from?
Say we have the following matrix `x`: >> x = [1 4 3; 6 4 3; 6 9 3; 2 4 3; 5 4 0; 5 3 1; 6 4 7] x = ...

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

2

réponses

Question


Selecting that pixel that minimizes the distance
Say I have the following two matrices: >> x = [1 4 3; 6 4 3; 6 9 3; 2 4 3; 5 4 0; 5 3 1; 6 4 7]; >> y = [0 0 1; 1 1 ...

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

0

réponse

Question


Substituting values in a matrix
Say I have the following two matrices: >> x = [1 4 3; 6 4 3; 6 9 3; 2 4 3; 5 4 0; 5 3 1; 6 4 7]; >> y = [0 0 1; 1 1 ...

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

1

réponse

Charger plus