Community Profile

# Wanbin Song

### MathWorks

Last seen: 5 månader ago Active since 2015

Application Engineer @ MathWorks

All

#### Content Feed

View by

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

ungefär 3 år ago | 1

| accepted

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

nästan 7 år ago | 0

| accepted

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

ungefär 7 år ago | 3

How can I remove integers after the decimal points
You can use floor function which rounds toward negative infinity. A = floor(A);

ungefär 7 år ago | 0

| accepted

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

ungefär 7 år ago | 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('~...

ungefär 7 år ago | 1

| accepted