Community Profile

photo

med-sweng


Last seen: oltre un anno ago Active since 2011

Statistics

  • First Review
  • Thankful Level 2

View badges

Content Feed

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

oltre 3 anni 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...

circa 6 anni 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...

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

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

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

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

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

circa 7 anni 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',...

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

circa 7 anni ago | 1 answer | 0

1

answer

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

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

circa 7 anni 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

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

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

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

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

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

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

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

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

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

oltre 7 anni 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: ...

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

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

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

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

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

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

circa 8 anni 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(...

circa 8 anni ago | 1 answer | 0

1

answer

Load more