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

10 years ago | 1 answer | 0

1

answer

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.

10 years ago | 0 answers | 0

0

answers

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

10 years ago | 0 answers | 0

0

answers

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

10 years ago | 0 answers | 0

0

answers

Question


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

10 years ago | 2 answers | 0

2

answers

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

10 years ago | 2 answers | 0

2

answers

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

10 years ago | 0 answers | 0

0

answers

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

10 years ago | 0 answers | 0

0

answers

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

10 years ago | 2 answers | 0

2

answers

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

10 years ago | 2 answers | 0

2

answers

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

10 years ago | 1 answer | 0

1

answer

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

10 years ago | 3 answers | 0

3

answers

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

10 years ago | 1 answer | 0

1

answer

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

10 years ago | 3 answers | 0

3

answers

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

11 years ago | 1 answer | 0

1

answer

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

11 years ago | 1 answer | 0

1

answer

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

11 years ago | 1 answer | 0

1

answer

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

11 years ago | 1 answer | 0

1

answer

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.

11 years ago | 0 answers | 0

0

answers

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

11 years ago | 0 answers | 0

0

answers

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.

11 years ago | 1 answer | 0

1

answer

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

11 years ago | 1 answer | 0

1

answer

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.

11 years ago | 0 answers | 0

0

answers

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

11 years ago | 0 answers | 0

0

answers

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

11 years ago | 1 answer | 0

1

answer

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

11 years ago | 2 answers | 0

2

answers

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

11 years ago | 1 answer | 0

1

answer

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

11 years ago | 2 answers | 0

2

answers

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

11 years ago | 0 answers | 0

0

answers

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

11 years ago | 1 answer | 0

1

answer

Load more