Senior Scientist and Inventor in one of the world's 10 largest industrial corporations doing image analysis full time. Ph.D. in Optical Sciences specializing in imaging, image processing, and image analysis. 40+ years of military, academic, and (mostly) industrial experience with image analysis programming and algorithm development. Experience designing custom light booths and other imaging systems. Experience with color and monochrome imaging, video analysis, thermal, ultraviolet, hyperspectral, CT, MRI, radiography, profilometry, microscopy, NIR and Raman spectroscopy, etc. on a huge variety of subjects. Be sure to click "View All" in my File Exchange to see ALL of my demos and tutorials: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

Professional Interests: Image analysis and processing

Answered

output visualisation in matlab code

Try this:http://blogs.mathworks.com/videos/2012/07/03/debugging-in-matlab/

output visualisation in matlab code

Try this:http://blogs.mathworks.com/videos/2012/07/03/debugging-in-matlab/

14 hours ago | 0

Answered

How to calculate multiple array at once?

Try this: s = load('needhelp.mat') B0006 = s.TEST % Array of 20 structs % Wants MeanVoltage = mean(B0006.cycle(1:20).data.Vol...

How to calculate multiple array at once?

Try this: s = load('needhelp.mat') B0006 = s.TEST % Array of 20 structs % Wants MeanVoltage = mean(B0006.cycle(1:20).data.Vol...

15 hours ago | 0

Answered

Messagebox warning in matlab

Get rid of the message and use imshow(): imshow(NCC, []);

Messagebox warning in matlab

Get rid of the message and use imshow(): imshow(NCC, []);

15 hours ago | 0

Answered

seven segment LED DISPLAY

One way is to just create a GUI using GUIDE or App Designer with 7 skinny axes and two static text labels. Then fill the approp...

seven segment LED DISPLAY

One way is to just create a GUI using GUIDE or App Designer with 7 skinny axes and two static text labels. Then fill the approp...

16 hours ago | 0

Answered

error:All functions in a script must be closed with an 'end'.( kindly see the code and help me to remove the error)

Like it said, if you're going to tack on functions to a script, you need to end/finish each function definition with a line of c...

error:All functions in a script must be closed with an 'end'.( kindly see the code and help me to remove the error)

Like it said, if you're going to tack on functions to a script, you need to end/finish each function definition with a line of c...

1 day ago | 0

Answered

To extract 10 values at equal interval from 170*390 table

[rows, columns] = size(voltage) % Get size of voltage matrix. Should be 170 rows by 390 columns columns = round(linspace(1, co...

To extract 10 values at equal interval from 170*390 table

[rows, columns] = size(voltage) % Get size of voltage matrix. Should be 170 rows by 390 columns columns = round(linspace(1, co...

2 days ago | 0

Answered

I have a matlab code for image segmentation but i want to add PSNR and SNR algorithm in my code.. What i do for this?

I'd look up psnr() in the help. There is a function for that.

I have a matlab code for image segmentation but i want to add PSNR and SNR algorithm in my code.. What i do for this?

I'd look up psnr() in the help. There is a function for that.

2 days ago | 0

Answered

How to write a code for plotting scattering angle vs intensity of 5µm bead size

See attached demos.

How to write a code for plotting scattering angle vs intensity of 5µm bead size

See attached demos.

2 days ago | 0

Answered

three concentric annular discs (20 pixel wide strips) with starting radius and intensities 60, 80, 100 respectively.

http://www.mathworks.com/matlabcentral/answers/8626-how-do-i-get-help-on-homework-questions-on-matlab-answers https://matlab.fa...

three concentric annular discs (20 pixel wide strips) with starting radius and intensities 60, 80, 100 respectively.

http://www.mathworks.com/matlabcentral/answers/8626-how-do-i-get-help-on-homework-questions-on-matlab-answers https://matlab.fa...

2 days ago | 0

Answered

I'm installing matlab 2017a silently and the installer stops on License manager

See the FAQ: https://matlab.fandom.com/wiki/FAQ#During_installation.2C_the_installer_crashes.2C_hangs.2C_gives_an_error_message....

I'm installing matlab 2017a silently and the installer stops on License manager

See the FAQ: https://matlab.fandom.com/wiki/FAQ#During_installation.2C_the_installer_crashes.2C_hangs.2C_gives_an_error_message....

2 days ago | 0

Answered

how to find the largest number in the first 13 number in an array?

Try this: numElements = 154*13; data = rand(numElements, 1); % random numbers from 0 to 1 data2D = reshape(data, 13, [])' th...

how to find the largest number in the first 13 number in an array?

Try this: numElements = 154*13; data = rand(numElements, 1); % random numbers from 0 to 1 data2D = reshape(data, 13, [])' th...

3 days ago | 1

Answered

MATLAB is frozen on the post download screen

Fastest route to success: The FAQ

MATLAB is frozen on the post download screen

Fastest route to success: The FAQ

4 days ago | 0

Answered

How to resize array using a mask

Assuming you're using double arrays...(since I see no need for you to be using cell arrays). a = [1, 2, 3; 4, 5, 6; 7, 8, 9] m...

How to resize array using a mask

Assuming you're using double arrays...(since I see no need for you to be using cell arrays). a = [1, 2, 3; 4, 5, 6; 7, 8, 9] m...

4 days ago | 0

Answered

How to calculate area in a binary image?

See my attached spatial calibration demo.

How to calculate area in a binary image?

See my attached spatial calibration demo.

4 days ago | 0

Answered

Can I pass table as an argument to a function.?

Can you attach "mycsv.csv" so we can try it? It might call the fields "Var1" and "Var2" instead of X and Y since you didn't spe...

Can I pass table as an argument to a function.?

Can you attach "mycsv.csv" so we can try it? It might call the fields "Var1" and "Var2" instead of X and Y since you didn't spe...

4 days ago | 0

Answered

Not able to start MATLAB_R2019b

Yes, they can. See the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation.2C_MATLAB_crashes_or_gives_an_error_message_w...

Not able to start MATLAB_R2019b

Yes, they can. See the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation.2C_MATLAB_crashes_or_gives_an_error_message_w...

4 days ago | 1

| accepted

Answered

Explain coding computer vision please

See the Image Segmentation Tutorial in my File Exchange. That will be a good start. I'll try to look at the video later and tr...

Explain coding computer vision please

See the Image Segmentation Tutorial in my File Exchange. That will be a good start. I'll try to look at the video later and tr...

4 days ago | 0

Answered

When I try to open my 2020a version of MATLAB, it quits immediately after displaying the startup window. What is going wrong, and how can I fix it? Thanks for any help.

Your fastest route to success is to follow directions in the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation.2C_MATLA...

When I try to open my 2020a version of MATLAB, it quits immediately after displaying the startup window. What is going wrong, and how can I fix it? Thanks for any help.

Your fastest route to success is to follow directions in the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation.2C_MATLA...

4 days ago | 0

Answered

count of times if condition is met

Try this (no for loop needed): rowsInRange = ptarget(:,1) >= -0.5 & ptarget(:,1) <= 0.5 & ptarget(:,2) >= -0.5 & ptarget(:,2) <...

count of times if condition is met

Try this (no for loop needed): rowsInRange = ptarget(:,1) >= -0.5 & ptarget(:,1) <= 0.5 & ptarget(:,2) >= -0.5 & ptarget(:,2) <...

4 days ago | 0

Answered

Index in position 2 is invalid. Array indices must be positive integers or logical values.

A thorough explanation of the error is given in the FAQ: https://matlab.fandom.com/wiki/FAQ#.22Subscript_indices_must_either_be_...

Index in position 2 is invalid. Array indices must be positive integers or logical values.

A thorough explanation of the error is given in the FAQ: https://matlab.fandom.com/wiki/FAQ#.22Subscript_indices_must_either_be_...

4 days ago | 0

Answered

Use of Imagesc to show more than one image on a single figure

Try stitching them together if they're the same number of rows and color channels: wideImage = [rgbImage1, rgbImage2]; imagesc...

Use of Imagesc to show more than one image on a single figure

Try stitching them together if they're the same number of rows and color channels: wideImage = [rgbImage1, rgbImage2]; imagesc...

4 days ago | 0

Answered

Matlab Newbie here / I want to multiselect files but it always gives me an error

Just make sure you include the folder because the user did not necessarily pick files in the current folder: [filename, folder]...

Matlab Newbie here / I want to multiselect files but it always gives me an error

Just make sure you include the folder because the user did not necessarily pick files in the current folder: [filename, folder]...

4 days ago | 0

Answered

command window no output

I'd call tech support. https://matlab.fandom.com/wiki/FAQ#After_installation.2C_MATLAB_crashes_or_gives_an_error_message_when_I...

command window no output

I'd call tech support. https://matlab.fandom.com/wiki/FAQ#After_installation.2C_MATLAB_crashes_or_gives_an_error_message_when_I...

4 days ago | 1

Answered

How can I get the slope of the peak?

Try this: % Your existing code: data=xlsread('data.xlsx',1,'A:B'); %import data,column A means the frame number; column B mean...

How can I get the slope of the peak?

Try this: % Your existing code: data=xlsread('data.xlsx',1,'A:B'); %import data,column A means the frame number; column B mean...

5 days ago | 0

| accepted

Answered

Unrecognized function or variable when reading an excel file.

Salinda: You can see from my code that your min pulse is 90.09 and the max is 138.2. That is why it always says critical. cl...

Unrecognized function or variable when reading an excel file.

Salinda: You can see from my code that your min pulse is 90.09 and the max is 138.2. That is why it always says critical. cl...

5 days ago | 1

| accepted

Answered

How can i compute an interpolated curve?

Since the blue and yellow x,y vectors may not be the same length, you can't simply use interp1(). An approach I think might wor...

How can i compute an interpolated curve?

Since the blue and yellow x,y vectors may not be the same length, you can't simply use interp1(). An approach I think might wor...

5 days ago | 0

Answered

error with indices and vectors

A is not a vector so there is no (1 + 1/12)th element of it. A is a scalar. Maybe you meant A * (1 + i/12)??? i= 7.5; A= 300...

error with indices and vectors

A is not a vector so there is no (1 + 1/12)th element of it. A is a scalar. Maybe you meant A * (1 + i/12)??? i= 7.5; A= 300...

5 days ago | 0

Answered

I don't receive the error message I'm supposed to

That code is perfectly fine. Perhaps the bad code is mat=[3,5,7;1,2] % Preferred - commas between or mat = [3 5 7; 1 2] % No...

I don't receive the error message I'm supposed to

That code is perfectly fine. Perhaps the bad code is mat=[3,5,7;1,2] % Preferred - commas between or mat = [3 5 7; 1 2] % No...

5 days ago | 0