Frage


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

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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.

etwa 12 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 12 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 12 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 12 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 12 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 12 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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.

fast 13 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 13 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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.

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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.

fast 13 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 13 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 13 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden