Senior Scientist (male/man) 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. Member of the Mathworks Community Advisory Board. 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

how to use "getframe" commander for making animation video.

It looks like your image might change size partway through. Try maximizing the figure in the loop after your last call to plot(...

how to use "getframe" commander for making animation video.

It looks like your image might change size partway through. Try maximizing the figure in the loop after your last call to plot(...

3 hours ago | 0

Answered

Can one save the filename as a variable in 'readtable'?

See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F Adapting it would go something like t...

Can one save the filename as a variable in 'readtable'?

See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F Adapting it would go something like t...

3 hours ago | 0

Answered

How to print some numeric value by using xlabel in subplot?

Try this NC = 0.79 % May be any value returned from some function. subplot(3,4,1); imshow(extracted_watermark); caption = sp...

How to print some numeric value by using xlabel in subplot?

Try this NC = 0.79 % May be any value returned from some function. subplot(3,4,1); imshow(extracted_watermark); caption = sp...

14 hours ago | 0

| accepted

Answered

How do I generate a polynomial from roots that are repeated?

Did you try just multiplying them all together? x = linspace(-8, 5, 1000); r1 = -0.7437 - 1.4178i r2 = -0.7437 - 1.4178i r...

How do I generate a polynomial from roots that are repeated?

Did you try just multiplying them all together? x = linspace(-8, 5, 1000); r1 = -0.7437 - 1.4178i r2 = -0.7437 - 1.4178i r...

15 hours ago | 0

Answered

sum of row in pattern

Try this: Data = [ 1 4 0.0000; 2 7 0.0000; 3 9 0.0000; 4 5 0.1760; 4 6 0.1580; 5 7 0.3060; ...

sum of row in pattern

Try this: Data = [ 1 4 0.0000; 2 7 0.0000; 3 9 0.0000; 4 5 0.1760; 4 6 0.1580; 5 7 0.3060; ...

15 hours ago | 0

Answered

Don't know how to fix error.

It doesn't like the blank line after the ... Get rid of it and have this: win = any(sum(X) == s) || any(sum(X') == s) || ... ...

Don't know how to fix error.

It doesn't like the blank line after the ... Get rid of it and have this: win = any(sum(X) == s) || any(sum(X') == s) || ... ...

16 hours ago | 0

| accepted

Answered

Feature extraction on dicom images

Try searching the vision literature: http://www.visionbib.com/bibliography/contents.html See the search link at the bottom of ...

Feature extraction on dicom images

Try searching the vision literature: http://www.visionbib.com/bibliography/contents.html See the search link at the bottom of ...

16 hours ago | 0

Answered

Changing the frequency of an array does not work always

In freq= input(frequency) what is frequency? Some string you defined to ask the user for the frequency? Please show how you ...

Changing the frequency of an array does not work always

In freq= input(frequency) what is frequency? Some string you defined to ask the user for the frequency? Please show how you ...

16 hours ago | 1

| accepted

Answered

primary school question!

Truncation error due to double's only using 64 bits instead of an infinite number of bits. It will be off a very small amount, ...

primary school question!

Truncation error due to double's only using 64 bits instead of an infinite number of bits. It will be off a very small amount, ...

16 hours ago | 0

Answered

Wha'ts wrong with this?

Like it says, x must be a double, not a sym. f is a sym since x was (I'm guessing since I don't have the Symbolic Toolbox.) So...

Wha'ts wrong with this?

Like it says, x must be a double, not a sym. f is a sym since x was (I'm guessing since I don't have the Symbolic Toolbox.) So...

16 hours ago | 1

Answered

How to create a melody ?

Well first of all, your y is a single number - a scalar - not a complete waveform as it should be when passed into soundsc(). T...

How to create a melody ?

Well first of all, your y is a single number - a scalar - not a complete waveform as it should be when passed into soundsc(). T...

17 hours ago | 0

Answered

Matrix output from for loop showing only last iteration values

You need to index it with the frame number, like [objArea,objCentroid(frameNumber, 1:2),bboxOut] = step(hBlobAnalysis,Z);

Matrix output from for loop showing only last iteration values

You need to index it with the frame number, like [objArea,objCentroid(frameNumber, 1:2),bboxOut] = step(hBlobAnalysis,Z);

1 day ago | 1

Answered

How to hinder ongoing spamming II?

This is one sick individual. Now they just created a profile with the name per isakson: https://www.mathworks.com/matlabcentra...

How to hinder ongoing spamming II?

This is one sick individual. Now they just created a profile with the name per isakson: https://www.mathworks.com/matlabcentra...

1 day ago | 0

Answered

How to create lines and calculate their lenghts

Jordan: Why not do it for ALL widths (every single line of the blob), rather than just 10? Just simply do verticalProfile = s...

How to create lines and calculate their lenghts

Jordan: Why not do it for ALL widths (every single line of the blob), rather than just 10? Just simply do verticalProfile = s...

1 day ago | 0

Answered

how to use "getframe" commander for making animation video.

See attached demo.

how to use "getframe" commander for making animation video.

See attached demo.

1 day ago | 0

Answered

I keep getting "Array indices must be positive integers or logical values."

A thorough discussion is in the FAQ: https://matlab.fandom.com/wiki/FAQ#.22Subscript_indices_must_either_be_real_positive_integ...

I keep getting "Array indices must be positive integers or logical values."

A thorough discussion is in the FAQ: https://matlab.fandom.com/wiki/FAQ#.22Subscript_indices_must_either_be_real_positive_integ...

1 day ago | 0

Answered

Segmentation Violation on Centos 7.6.1810

See the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation.2C_MATLAB_crashes_or_gives_an_error_message_when_I_try_to_ru...

Segmentation Violation on Centos 7.6.1810

See the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation.2C_MATLAB_crashes_or_gives_an_error_message_when_I_try_to_ru...

1 day ago | 0

Answered

How to loop both years and months simultaneously?

Is Datam a function? Looks like it's a 2-D matrix, not a function. What do the rows and columns of Datam represent? Attach Da...

How to loop both years and months simultaneously?

Is Datam a function? Looks like it's a 2-D matrix, not a function. What do the rows and columns of Datam represent? Attach Da...

1 day ago | 0

Answered

Can I detect if there are red pixels in a picture? (picture included)

I'd try the Color Thresholder App on the Apps tab of the tool ribbon.

Can I detect if there are red pixels in a picture? (picture included)

I'd try the Color Thresholder App on the Apps tab of the tool ribbon.

1 day ago | 1

Answered

How to trace the boundray of object in an image using MATLAB?

Try this: clc; % Clear the command window. close all; % Close all figures (except those of imtool.) clear; % Erase all e...

How to trace the boundray of object in an image using MATLAB?

Try this: clc; % Clear the command window. close all; % Close all figures (except those of imtool.) clear; % Erase all e...

1 day ago | 0

Answered

how can i solve this function

You can use roots() to find the solutions. Then simply put roots() into a function and call it in a script. a = 3; b = .........

how can i solve this function

You can use roots() to find the solutions. Then simply put roots() into a function and call it in a script. a = 3; b = .........

1 day ago | 0

Answered

Correlating through specific rows in matrix

Not exactly sure what you're after, but how about this: counter = 1; for i = 1 : 100 : 1700 row1 = i; row2 = row1 + ...

Correlating through specific rows in matrix

Not exactly sure what you're after, but how about this: counter = 1; for i = 1 : 100 : 1700 row1 = i; row2 = row1 + ...

1 day ago | 0

| accepted

Answered

Cant understand how the values are stored

You forgot to attach the .mat files so we can't do much. The first row of the val matrix stored in the mat file is extracted an...

Cant understand how the values are stored

You forgot to attach the .mat files so we can't do much. The first row of the val matrix stored in the mat file is extracted an...

1 day ago | 1

| accepted

Answered

How to generate two independent white noise

You say "Since they are independent, their cross-correlation must be "0" for all time lags theoretically." This is incorrect. ...

How to generate two independent white noise

You say "Since they are independent, their cross-correlation must be "0" for all time lags theoretically." This is incorrect. ...

2 days ago | 0

Answered

4th degree question ploting

Try this: Ctg =[0.322; 0.122; 0.084; 0.053; 0.031; 0.01]; t =[0; 20; 40; 60; 80; 100]; plot(t, Ctg, 'ko', 'LineWidth', 2, 'Ma...

4th degree question ploting

Try this: Ctg =[0.322; 0.122; 0.084; 0.053; 0.031; 0.01]; t =[0; 20; 40; 60; 80; 100]; plot(t, Ctg, 'ko', 'LineWidth', 2, 'Ma...

3 days ago | 0

Answered

How to trace the boundray of object in an image using MATLAB?

If you want to manually trace some boundary. Use drawfreehand(). If you have a binary image and you want an image of the perim...

How to trace the boundray of object in an image using MATLAB?

If you want to manually trace some boundary. Use drawfreehand(). If you have a binary image and you want an image of the perim...

3 days ago | 0

Answered

cod for linear equation

The solution is in the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_fit_a_circle_to_a_set_of_XY_data.3F

cod for linear equation

The solution is in the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_fit_a_circle_to_a_set_of_XY_data.3F

3 days ago | 0

Answered

How can I apply a natural logarithm to an image?

Did you try ln_image =log(mat2gray(image))? By the way it's a terrible idea for them to tell you to use the word "image" for yo...

How can I apply a natural logarithm to an image?

Did you try ln_image =log(mat2gray(image))? By the way it's a terrible idea for them to tell you to use the word "image" for yo...

3 days ago | 0

| accepted

Answered

How to access a struct through a field name.

It shouldn't be a problem with what you've shown since every structure in the structure array has a unique value for the symbol ...

How to access a struct through a field name.

It shouldn't be a problem with what you've shown since every structure in the structure array has a unique value for the symbol ...

3 days ago | 0

Answered

Get file name and path of the file when I browse with a button

Try this: % Have user browse for a file, from a specified "starting folder." % For convenience in browsing, set a starting fol...

Get file name and path of the file when I browse with a button

Try this: % Have user browse for a file, from a specified "starting folder." % For convenience in browsing, set a starting fol...

3 days ago | 0