Wanbin Song
MathWorks
Followers: 0 Following: 0
Application Engineer @ MathWorks
Feeds
已回答
Calculating frame rate per second for object detection
You can add some of code as belows: Declare some variables before while loop as below: fps = 0; avgfps = []; Include below t...
Calculating frame rate per second for object detection
You can add some of code as belows: Declare some variables before while loop as below: fps = 0; avgfps = []; Include below t...
5 years 前 | 2
| 已接受
已回答
How to apply Gaussian filter on images in MATLAB?
You can use imgaussfilt function for 2-D gaussian filtering as below: I = imread('mypic.jpg'); Iblur = imgaussfilt(I, 1)...
How to apply Gaussian filter on images in MATLAB?
You can use imgaussfilt function for 2-D gaussian filtering as below: I = imread('mypic.jpg'); Iblur = imgaussfilt(I, 1)...
9 years 前 | 0
| 已接受
已回答
Using a variable in an input prompt
Input argument of 'input' function should be a text. Your code shows that your input arguments of 'input' function consists o...
Using a variable in an input prompt
Input argument of 'input' function should be a text. Your code shows that your input arguments of 'input' function consists o...
9 years 前 | 3
已回答
How can I remove integers after the decimal points
You can use floor function which rounds toward negative infinity. A = floor(A);
How can I remove integers after the decimal points
You can use floor function which rounds toward negative infinity. A = floor(A);
9 years 前 | 0
| 已接受
已回答
i have 20 images saved in a folder in computer now i have to convert to gray images at the time. how to convert rgb to gray ?
Supposed that your images are named as image1.png, image2.png, ... image20.png. You can do it as follows: for i = 1:20 ...
i have 20 images saved in a folder in computer now i have to convert to gray images at the time. how to convert rgb to gray ?
Supposed that your images are named as image1.png, image2.png, ... image20.png. You can do it as follows: for i = 1:20 ...
9 years 前 | 0
已回答
How to convert the following jpg file to matlab.fig file
As my understanding of your question, it is pretty simple as below: img = imread('~~.jpg'); imshow(img); savefig('~...
How to convert the following jpg file to matlab.fig file
As my understanding of your question, it is pretty simple as below: img = imread('~~.jpg'); imshow(img); savefig('~...
9 years 前 | 1
| 已接受
已回答
I want to sum the loop result which the result is indicates the total of selected input
You can code it as belows: disp('Please vote for your candidates'); a=1; b=2; c=3; d=4; result = []; for y=1:5 ...
I want to sum the loop result which the result is indicates the total of selected input
You can code it as belows: disp('Please vote for your candidates'); a=1; b=2; c=3; d=4; result = []; for y=1:5 ...
9 years 前 | 0
| 已接受
已回答
Undefined function 'selectStrongest' for input arguments of type 'uint8'.
Try to change the work folder to simple directory such as C:\work. It happens when there is a function or matrix files in the...
Undefined function 'selectStrongest' for input arguments of type 'uint8'.
Try to change the work folder to simple directory such as C:\work. It happens when there is a function or matrix files in the...
9 years 前 | 0