Domanda


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

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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.

circa 12 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 12 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 12 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 12 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 13 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 13 anni fa | 1 risposta | 0

1

risposta

Domanda


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.

quasi 13 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 13 anni fa | 0 risposte | 0

0

risposte

Domanda


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.

quasi 13 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 13 anni fa | 1 risposta | 0

1

risposta

Domanda


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.

quasi 13 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 13 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 13 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 13 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 13 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 13 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 13 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 13 anni fa | 1 risposta | 0

1

risposta

Carica altro