Community Profile

photo

RuiQi


Nanyang Technological University

Aktiv seit 2014

Statistiken

  • Thankful Level 4

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


How to show size of this element ?
<</matlabcentral/answers/uploaded_files/140536/Untitled.png>> How can I print the shape of bbox{1,1}. I want to see that ther...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to iterate through a struct ?
How can i iterate through a struct in matlab ? Here is my code that does not work im_filenames = dir('./JAAD_frames/video_0...

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to get all values from a struct ?
I used dir to get filenames. It is in a struct. Now how do I extract the values from that struct into a list ? Here is my attemp...

mehr als 5 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Simple implementation of level sets curve evolution for image segmentation
does anyone have a simple implementation of the level sets curve evolution for image segmentation ? https://profs.etsmtl.ca/hlom...

fast 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to use ezplot ?
I typed this but nothing shows up syms x1 x2 f(x1, x2) = x1^2 + 9*x2^2; ezplot(f);

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to use a C static Library in a Microsoft Visual Studio Project
this guide teaches how to use dll created by matlab coder http://www.mathworks.com/help/coder/ug/using-a-matlab-coder-dynamic-li...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


subplot log-scale set range
I have a plot that looks compressed because one or some of the plots are too far away. <</matlabcentral/answers/uploaded_file...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to blend image and label image
I have an colored RGB image and a 'label image' tells the object class. How do I combine these 2 to make the output look like th...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Automatically remove white space from figure
How do I remove the white space from the figures ? I don't want to have to save the image then manually crop it. Instead of M...

mehr als 6 Jahre vor | 5 Antworten | 2

5

Antworten

Frage


How to set legend marker size
How do I change the marker size on the legend ? I can change the font size but not marker. l = legend('Orientation', 'Horiz...

mehr als 6 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


label2rgb and rgb2label
RGB = label2rgb(L) converts my label array to a RGB array. Is there a function that converts the RGB array back to the original ...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Convert RGB image to label
This function converts my labeled image into an RGB <https://www.mathworks.com/help/images/ref/label2rgb.html> Is it possible t...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
matlab mkdir gives error
The colons were giving an issue. This worked. t = datetime('now'); t = datestr(t); t = strrep(t,':','-') folder = ...

mehr als 6 Jahre vor | 0

Frage


matlab mkdir gives error
I have a folder named results. I want to create a folder with name datetime in it. I use mkdir but I get error. t = datetim...

mehr als 6 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Subplot legend change width and height
How do I change the width and height of my subplot legend ? I manually changed its position in the figure below. l = legend...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Plot - add legend individually
How can I update the legend of each plot individually rather than at the end of the code ? plot(x1, y1, '-vr', 'LineWidth...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


convert cell to array
I have a structure sp. How can I copy the content name into an arrray ? Its supposed to be an array of numbers. a = sp.name...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Modify subplot legend properties
I have 2 subplots in my figure and a legend that has been manually repositioned below the plots. May I know if it is possible to...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


assign rgb to 3d array
How do I give color to a specific row, col in my 3D matrix 321x481x3 uint8 ? image(row,col,:) = [0, 0, 255]; does not w...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


bwconncomp with "labeled" input
I want to pass my segmented image into an algorithm and it requires that the array has all the values in it up till the max valu...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to set elements in 2D matrix to zero given Index ?
gt_regions = regionprops(gt,'PixelList'); linearInd = sub2ind(size(gt), gt_regions(1).PixelList(:,2), gt_regions(1).Pix...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


imgaborfilt - no option for sigma ?
I am using the imgaborfilt function and I noted that there is no option to specify the standard deviation of the gaussian functi...

fast 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


imgaborfilt - no option for sigma ?
I am using the imgaborfilt function and I noted that there is no option to specify the standard deviation of the gaussian functi...

fast 7 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
blockproc - histogram for each window
Managed to find a sample code at http://stackoverflow.com/questions/15250647/matlab-blockproc-store-vector-result-as-3rd-dimensi...

fast 7 Jahre vor | 0

| akzeptiert

Frage


blockproc - histogram for each window
I read that blockproc allows me to create custom functions that will process sub-images in a sliding window fashion. I am not su...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


sub2ind - get all of 3rd dimension
I have 2 matrices, one is a 2D matrix carrying an integer of labels and another a 3D matrix where each [row col] is a feature ve...

fast 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


subplot - how to have the same aspect ratio ?
I am using subplot to imshow() a rgb image and imagesc() an integer array. Both matrices have the same rows and columns. I would...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to use code generated function ?
I wanted to use the watershed transformation in my visual studio c++ application so I managed to use codegen to generate the c++...

fast 7 Jahre vor | 0 Antworten | 2

0

Antworten

Frage


codegen - unsupported matlab function call
I am trying to have a C++ lib for the watershed function. I have read the instructions at https://www.mathworks.com/help/images/...

fast 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Matlab codegen for the Image Processing Toolbox
I was reading about code generation and I came across these 2 pages and was wondering if there is any difference between the two...

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden