photo

med-sweng


Last seen: 2 months ago Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • Explorer
  • First Review
  • Thankful Level 3

View badges

Feeds

View by

Question


Measuring the border (edge) irregularity
I have the following image and would like to measure whether the border is regular or irregular, or return a value for how regul...

6 years ago | 0 answers | 0

0

answers

Question


A file name must be supplied
I have the following imwrite statement: imwrite(img, strcat(thisdir,'_',num2str(j),'_LABEL_',categoryClassifier.Labels(labe...

9 years ago | 3 answers | 0

3

answers

Question


Subscript indices must either be real positive integers or logicals.
I get returned from a function I call the "pixel location". At that location, what I try to do is: A(pixel_location(1),p...

10 years ago | 3 answers | 0

3

answers

Question


Assigning white pixels to specific locations
Say that we have a black image (i.e. zeros) of size 64x64, and say that I want to fill those 3x3 windows pixels in the middle of...

10 years ago | 1 answer | 0

1

answer

Question


Padding an array with some size, and the location
Say that we have an array, and I wanted to resize that array while keeping its content. Something I thought of is "padding". Whe...

10 years ago | 2 answers | 0

2

answers

Question


Extracting the text part from imread
Say that I have the following statement: I = imread('xyz.png'); How can I extract the following part only? xyz.png T...

10 years ago | 1 answer | 0

1

answer

Question


Obtaining the largest object in an image
Say that I have an image with a big object, and then small objects spread apart. How can I retrieve only that big object? ...

10 years ago | 1 answer | 0

1

answer

Question


Drawing the ellipse fit on another figure
Say that I have an irregular shape, for which I made an "ellipse fit", that is, I found the best ellipse fit for that irregular ...

10 years ago | 0 answers | 0

0

answers

Question


Saving a plot with part of it filled with colour as an image
I have the following code portion where an plot is drawn, and part of it is filled with a white colour; plot(x,y,'Color',...

10 years ago | 2 answers | 0

2

answers

Question


Filling ellipse fit with white, and making the rest of the image black
If you run the code <http://vision.gel.ulaval.ca/~jouellet/code/DualEllipse/de.html here>, you will get a best ellipse fit with ...

10 years ago | 2 answers | 0

2

answers

Question


Input matrix must be two dimensional
I'm trying to use the code <http://www.mathworks.com/matlabcentral/fileexchange/15125-fitellipse-m/content/demo/html/ellipsedemo...

10 years ago | 1 answer | 0

1

answer

Question


Index exceeds matrix dimensions.
I have the following portion: N = size(p,1); x = 1:N; y = x; [X,Y] = meshgrid(x,y); R = sqrt((2.*X-N-1).^2+(2.*Y-N...

10 years ago | 0 answers | 0

0

answers

Answered
Normalizing a gray scale image to the range [0,1]
I found the answer for my question here: http://www.mathworks.com/matlabcentral/newsreader/view_thread/297402

10 years ago | 0

Question


Normalizing a gray scale image to the range [0,1]
I'm trying to normalize a gray scale image to the range [0,1]. I tried different ways for normalizing the image, but always gett...

10 years ago | 2 answers | 0

2

answers

Question


Border is drawn around the ellipse, how to fill now?
In <http://blogs.mathworks.com/steve/2010/07/30/visualizing-regionprops-ellipse-measurements/ this> tutorial, an ellipse will be...

10 years ago | 1 answer | 0

1

answer

Question


Obtaining the best ellipse fit of an irregular shape
Say that we have an irregular shape. How can we obtain the best `ellipse` fit of such shape? Does `regionprops` work for that? I...

10 years ago | 2 answers | 0

2

answers

Question


How does MINPEAKDISTANCE work?
I'm trying to understand how `MINPEAKDISTANCE` works. I returned to the documentation, <http://www.mathworks.com/help/signal/ref...

10 years ago | 1 answer | 0

1

answer

Question


Accessing cells of a cell
I have the following cell: <</matlabcentral/answers/uploaded_files/18653/Capture1.PNG>> Now, when I open it, you can s...

10 years ago | 1 answer | 0

1

answer

Question


Setting a starting distance value in pdist
Hi! I'm using *pdist* to find the distance between two matrices. Those matrices change for every run of the program. My qu...

10 years ago | 1 answer | 0

1

answer

Question


Error using fopen
Hi, I'm using the following command in a for-loop: imwrite(x,strcat('L_',num2str(c),'_m.bmp'),'bmp'); And, getting th...

10 years ago | 1 answer | 0

1

answer

Question


Index of fuzziness in fuzzy c-means
I'm going through <http://www.mathworks.com/matlabcentral/fileexchange/25532-fuzzy-c-means-segmentation this> code for fuzzy c-m...

10 years ago | 0 answers | 0

0

answers

Question


Window size or length
I came about a program that in order to set the window size, it mentions that as follows for instance: window_size = 20; W...

10 years ago | 1 answer | 0

1

answer

Question


error - unexpected matlab expression
I have the following call to a function: callfun(I1, I2, [X Y ones(n,1)], w, m) But, I'm getting: Error: File: ...

10 years ago | 0 answers | 0

0

answers

Question


What does this parameter mean?
I came about this parameter passed to a function in `MATLAB`: [X Y ones(n,1)] Assume X: x-dimension; Y: y-dimension; n...

10 years ago | 2 answers | 0

2

answers

Question


Using getpts to get selected points
I'm trying to use `getpts` to get the location of the selected points by the user. I used it as follows: [X,Y] = getpt...

10 years ago | 1 answer | 0

1

answer

Question


Programming a MATLAB plugin
I couldn't find a clear reference on that. I just want to ask, if I want to learn how to program plugins in MATLAB, where is a g...

10 years ago | 2 answers | 0

2

answers

Question


Selecting an ellipse as a region of interest (ROI)
I used imellipse to select an ellipse as my region of interest (ROI). The issue is that the ellipse I want to select is of aroun...

10 years ago | 2 answers | 0

2

answers

Question


TP, TN, FP, FN values
I came about the code proposed at this <http://www.mathworks.com/matlabcentral/newsreader/view_thread/327059 link> . Do you thin...

10 years ago | 0 answers | 0

0

answers

Question


4-neighbourhood of a set
Say the I have the following set (matrix): I=[4 3 5; 5 3 2; 5 3 2] How can I find the 4-neighbourhoods to that matrix? ...

10 years ago | 0 answers | 0

0

answers

Question


Attempted to access pixels(0,1); index must be a positive integer or logical
I'm trying to check the 3x3 neighbourhood for some pixel. For that, I did the following: neighbour_F(1) = pixels(...

10 years ago | 1 answer | 0

1

answer

Load more