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

답변 있음

computing the cumulative matrix with some conditions

Why can't you just make up a look up table like [0, 2, 4, -5] and so on. Then just do a simple for loop for the various conditi...

computing the cumulative matrix with some conditions

Why can't you just make up a look up table like [0, 2, 4, -5] and so on. Then just do a simple for loop for the various conditi...

약 14시간 전 | 0

답변 있음

Phase of an image, fft

No. You cannot get the phase of a Fourier transform from only the magnitude of the Fourier Transform. And of course getting th...

Phase of an image, fft

No. You cannot get the phase of a Fourier transform from only the magnitude of the Fourier Transform. And of course getting th...

약 14시간 전 | 0

답변 있음

How to detect a thick grid in an image

Try taking the radon transform to get projections at every angle, then use find peaks to determine the spacing of the dark gridl...

How to detect a thick grid in an image

Try taking the radon transform to get projections at every angle, then use find peaks to determine the spacing of the dark gridl...

약 14시간 전 | 2

| 수락됨

답변 있음

A MATLAB Dice Function to display the face of the dice

Try rectangle() to make the rounded rectangle, and plot() or scatter(x,y,'filled') to make the spots, though you could use recta...

A MATLAB Dice Function to display the face of the dice

Try rectangle() to make the rounded rectangle, and plot() or scatter(x,y,'filled') to make the spots, though you could use recta...

약 16시간 전 | 1

답변 있음

Divide a number N into K numbers

Here's one way. (Hopefully it's not your homework. Tag it as homework if it is.) N = 8; r = 1 + 15 * rand(10000, N) % Compu...

Divide a number N into K numbers

Here's one way. (Hopefully it's not your homework. Tag it as homework if it is.) N = 8; r = 1 + 15 * rand(10000, N) % Compu...

약 16시간 전 | 1

답변 있음

Divide a number N into K numbers

randfixedsum(): https://www.mathworks.com/matlabcentral/fileexchange/9700-random-vectors-with-fixed-sum?s_tid=srchtitle ...

Divide a number N into K numbers

randfixedsum(): https://www.mathworks.com/matlabcentral/fileexchange/9700-random-vectors-with-fixed-sum?s_tid=srchtitle ...

약 16시간 전 | 1

답변 있음

Isolate clusters from a series of points

Frederica, Here is a full demo: clc; % Clear command window. clear; % Delete all variables. close all; % Close all figure win...

Isolate clusters from a series of points

Frederica, Here is a full demo: clc; % Clear command window. clear; % Delete all variables. close all; % Close all figure win...

약 16시간 전 | 1

답변 있음

Isolate clusters from a series of points

You can use kmeans() to determine the location of 5 cluster centroids. Then compute the distances of each point in the class fr...

Isolate clusters from a series of points

You can use kmeans() to determine the location of 5 cluster centroids. Then compute the distances of each point in the class fr...

약 19시간 전 | 1

| 수락됨

답변 있음

how to fit y=ax^b without curve fitting

You can use fitnlm() - Fit Non-linear model. See attached for a bunch of demos where I use it on a wide variety of equations. ...

how to fit y=ax^b without curve fitting

You can use fitnlm() - Fit Non-linear model. See attached for a bunch of demos where I use it on a wide variety of equations. ...

1일 전 | 0

답변 있음

Extract the INNER white region of an image with black and white intersection.

Try this: % Demo by Image Analyst, March, 2021. clc; % Clear the command window. close all; % Close all figures (except t...

Extract the INNER white region of an image with black and white intersection.

Try this: % Demo by Image Analyst, March, 2021. clc; % Clear the command window. close all; % Close all figures (except t...

2일 전 | 1

답변 있음

Extract the INNER white region of an image with black and white intersection.

First of all you don't need imclearborder because there is no part of your blob that touches the border. And after bwareafilt()...

Extract the INNER white region of an image with black and white intersection.

First of all you don't need imclearborder because there is no part of your blob that touches the border. And after bwareafilt()...

2일 전 | 0

| 수락됨

답변 있음

Calculating elements of A from k-point mean values

You can get the original signal only if you know the weights. Otherwise with unknown weights and unknown original signal, there...

Calculating elements of A from k-point mean values

You can get the original signal only if you know the weights. Otherwise with unknown weights and unknown original signal, there...

2일 전 | 0

답변 있음

I have some isssue with my codes

To get the convex hull, call bwconvhull() chImage = bwconvhull(BW); There is an option to do the convex hulls of each region i...

I have some isssue with my codes

To get the convex hull, call bwconvhull() chImage = bwconvhull(BW); There is an option to do the convex hulls of each region i...

2일 전 | 0

답변 있음

Does something wrong with my code in ellipse fitting?

See my attached ellipse fitting demo and adapt as needed.

Does something wrong with my code in ellipse fitting?

See my attached ellipse fitting demo and adapt as needed.

2일 전 | 0

답변 있음

legend label for subplots

Can't you just put the legend in one and then users can/will assume the legend applies to all the other 5 plots? Or else put up...

legend label for subplots

Can't you just put the legend in one and then users can/will assume the legend applies to all the other 5 plots? Or else put up...

3일 전 | 0

답변 있음

Improve speed reading in a .dat file

You could try fileread() to read in the whole file into one variable in one shot, then go through it parsing it.

Improve speed reading in a .dat file

You could try fileread() to read in the whole file into one variable in one shot, then go through it parsing it.

3일 전 | 0

답변 있음

What should I do if the brightness of backgroud is very close to foreground?

They don't look that close. Thresholding should work fairly well. Otherwise use SegNet deep learing if you need to identify tr...

What should I do if the brightness of backgroud is very close to foreground?

They don't look that close. Thresholding should work fairly well. Otherwise use SegNet deep learing if you need to identify tr...

4일 전 | 0

| 수락됨

답변 있음

How to use Xlswrite command in actxserver and how to avoid script gets hanged due to hworkbook.close command?

I don't think you need th close function. Just delete that line and it should shutdown just fine.

How to use Xlswrite command in actxserver and how to avoid script gets hanged due to hworkbook.close command?

I don't think you need th close function. Just delete that line and it should shutdown just fine.

5일 전 | 0

답변 있음

how to find derivative of a function and ploting the surface of function and its derivative

If you have a 2-D array of numbers, you can use surf() to plot a 3-D rendering of it, or imshow() to display it as an image. If...

how to find derivative of a function and ploting the surface of function and its derivative

If you have a 2-D array of numbers, you can use surf() to plot a 3-D rendering of it, or imshow() to display it as an image. If...

6일 전 | 1

답변 있음

How to fill the gaps on the boundary surface of the cone using MATLAB?

The code didn't run so I repaired and improved it below. Other than that I don't know anything about it because unfortunately t...

How to fill the gaps on the boundary surface of the cone using MATLAB?

The code didn't run so I repaired and improved it below. Other than that I don't know anything about it because unfortunately t...

6일 전 | 1

답변 있음

Plotting complicated function with asymptotes

Did you try y = linspace(7, 12, 1000); signal = exp(y .* cot(y)) .* sin(y); plot(y, signal, 'b-', 'LineWidth', 2); grid on; ...

Plotting complicated function with asymptotes

Did you try y = linspace(7, 12, 1000); signal = exp(y .* cot(y)) .* sin(y); plot(y, signal, 'b-', 'LineWidth', 2); grid on; ...

6일 전 | 0

| 수락됨

답변 있음

Programmatically crop rough image to rectangle

There is no function to find the largest interior rectangle for arbitraily shaped blobs. You can try scanning down with a line ...

Programmatically crop rough image to rectangle

There is no function to find the largest interior rectangle for arbitraily shaped blobs. You can try scanning down with a line ...

7일 전 | 0

답변 있음

How to center and add margin around image?

Have you tried padarray()? Then use indexing to paste it onto the other image. I'm attaching a copying and pasting demo. Chec...

How to center and add margin around image?

Have you tried padarray()? Then use indexing to paste it onto the other image. I'm attaching a copying and pasting demo. Chec...

7일 전 | 0

답변 있음

How plot to matrices in 3D

Some possible options: x=1:5; y=3:5; [X, Y] = meshgrid(x, y) z = [-1 2 3; -5 -1 3; -2 4 8; 1 3 7; 4 7 10] subplot(2, 1, 1);...

How plot to matrices in 3D

Some possible options: x=1:5; y=3:5; [X, Y] = meshgrid(x, y) z = [-1 2 3; -5 -1 3; -2 4 8; 1 3 7; 4 7 10] subplot(2, 1, 1);...

8일 전 | 0

| 수락됨

답변 있음

How to recognize negative numbers with OCR?

Can't you simply add a - to the CharacterSet? Then if the first character is a -, it's a negative number. This works fine: gr...

How to recognize negative numbers with OCR?

Can't you simply add a - to the CharacterSet? Then if the first character is a -, it's a negative number. This works fine: gr...

8일 전 | 2

| 수락됨

답변 있음

Add a Title for Each Group of Subplots in a Figure Window

I believe you can use text(). I think it will place text on the figure if you tell it to, instead of the current axes. Try it ...

Add a Title for Each Group of Subplots in a Figure Window

I believe you can use text(). I think it will place text on the figure if you tell it to, instead of the current axes. Try it ...

8일 전 | 1

답변 있음

Monte Carlo noise simulation

You can use rand() to get a 1000 row matrix with 2 columns. Then use mean() and std() on each column or row. I'm attaching som...

Monte Carlo noise simulation

You can use rand() to get a 1000 row matrix with 2 columns. Then use mean() and std() on each column or row. I'm attaching som...

8일 전 | 1

답변 있음

Logical with complex numbers in a vector

Perhaps this: complexVector =[ 0.0000 + 0.1000i 1.7321 + 0.0010i 3.0000 + 0.0000i] % Define a tolerance: toleranc...

Logical with complex numbers in a vector

Perhaps this: complexVector =[ 0.0000 + 0.1000i 1.7321 + 0.0010i 3.0000 + 0.0000i] % Define a tolerance: toleranc...

8일 전 | 1

답변 있음

Error in splitapply command

This seems to work fine: B = 1 + 9 * rand(1, 100000); edges = 1 : 0.5 : 10 [counts, edges, bin] = histcounts(B, edges); % bi...

Error in splitapply command

This seems to work fine: B = 1 + 9 * rand(1, 100000); edges = 1 : 0.5 : 10 [counts, edges, bin] = histcounts(B, edges); % bi...

8일 전 | 1