Community Profile

photo

Image Analyst


Last seen: Today Active since 2010

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

Programming Languages:
MATLAB, Visual Basic
Spoken Languages:
English
Professional Interests:
Deep Learning with Images, Industrial Statistics, Image Processing and Computer Vision

Statistics

All
  • MATLAB Central Treasure Hunt Finisher
  • Most Accepted 2022
  • Most Accepted 2021
  • Solver
  • Personal Best Downloads Level 5
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • 36 Month Streak
  • Most Accepted 2014
  • Thankful Level 5

View badges

Content Feed

Answered
Isolate horizonal part of curve
Maybe adjust the axis to start and end wherever you want, like xlim([0.5e-6, 5e-6]); but like John said, there is no flat part...

11 hours ago | 1

Answered
Convenient way to filter sinusoidal noise from decay data?
Why not just leave the data as they are and fit an exponential decay to the whole thing? See attached demo.

14 hours ago | 0

Answered
Reordering bounding box coordinates in a cell array from left to right, top to bottom.
If you know how many rows and columns there are I'd use kmeans() and sort() to reorder the AOIs in a logical left-to-right, top-...

16 hours ago | 0

Answered
Stopping showing a MP4 file (frame) by exit button
You could make a checkbox on the window called chkFinishNow and then check it in your loop app.chkFinishNow.Value = false; whi...

20 hours ago | 0

| accepted

Answered
Important plotting question (defining the markers in a for loop)
Try it this way: x = -2*pi:0.1:2*pi; colors = {'r', 'b', 'k', 'r', 'b', 'k'}; markers = {'o', 'o', 'o', '.', '.', '.'}; for ...

20 hours ago | 1

| accepted

Answered
I want to plot soil moisture against daytime values but I am getting "Do indexing is not supported for variables of this type".
date is a function and does not have methods, like Var6(). And SM_05 is a column vector, not a table so there is no Var7 column...

23 hours ago | 0

Answered
Is it possible to open an excel template, save as a new file then write data to the new file without overwriting the template?
Of course. I do this all the time. I have a template workbook with all the formatting just how I like it, then when it comes t...

24 hours ago | 0

Answered
Can I use another filename instead?
Even more robust: folder = "c:\users\matlab"; if ~isfolder(folder) errorMessage = sprintf('Error: folder does not exist:\...

1 day ago | 0

Answered
why my loop keeps only the last run?
You're not indexing C so you're just overwriting it every time. Fix: C=zeros(2,4); for z=1:2 C(z, :) =[A(z) B(z) D(z) E(...

1 day ago | 0

| accepted

Answered
why this code gives error?
Try using [] instead of 'auto': color=imread('peppers.png'); grayImage=rgb2gray(color); grayImage=double(grayImage); pfs=fsp...

1 day ago | 0

Answered
For each pixel, how can you calculate the frequency of its assignment to each cluster using v.
You forgot to attach face2.jpg. In the meantime, see my attached kmeans demos.

1 day ago | 0

Answered
Upper bound curve that passes through the extreme (highest) points
I don't understand why the convex hull is not what you want. That's what I was going to suggest. Otherwise maybe you can try m...

1 day ago | 1

Answered
movavg with custom type and weights
I never heard of movavg - I guess it's only in the Financial Toolbox. You can use conv or movmean instead: A = [1,2,3,4,5]; % ...

2 days ago | 1

Answered
How do I turn a periodic square wave into aperiodic square wave?
What did you pass in for f, W, and C? After you create your pulse train with uniform width pulses, you might call repelem with ...

3 days ago | 0

Answered
Convert Equastion to Matlab Code
Try this: numerator = 2 * (s + 1) .* (s - 2); denominator = (s + 2) .* (s + 3) .* (s - 1); H = numerator ./ denominator; num...

3 days ago | 0

Answered
Why my OCR results are not accurate?
ocr requires that the letters be at least 20 pixels high. I don't think yours are. You should try to increase the resolution o...

3 days ago | 0

Answered
comparing floating point numbers for equality
The function inside would be a simple one line statement like something = abs(something - something) < something; You should b...

3 days ago | 0

Answered
Image in user interface pop up box
Try this: https://www.mathworks.com/matlabcentral/answers/98593-how-do-i-display-an-image-on-a-gui-component-eg-pushbutton ...

3 days ago | 0

Answered
Orbital Angular Momentum Vertex Beam design based on 4 phase level
How about this: NUM = 100; x = linspace(-12,12,NUM); y = x; [X,Y] = meshgrid(x,y); charge =1; theta= charge*atan2d(X,Y)...

3 days ago | 0

Answered
How do I remove a value from a column, but keep the rest?
Assuming you want to get rid of the entire first row of table "t", you could do t = t(2:end, :); % Extract rows 2 onwards.

3 days ago | 1

| accepted

Answered
How to remove small black dots in images?
First of all, get control over your lighting - it's horrible. Make it more uniform. Then try this code: % Demo by Image Analy...

4 days ago | 0

Answered
problem installing new version of matlab
Do what it says in the FAQ: https://matlab.fandom.com/wiki/FAQ#During_installation,_the_installer_crashes,_hangs,_gives_an_erro...

4 days ago | 0

Answered
'mcc' command complains about "invalid directory" with R2022a
Since you did not specify a folder for filename1.m and filename2.m, it will look in the current folder, which of course will exi...

4 days ago | 0

Answered
When installing MATLAB, I get the error "Error 5 running command setup.exe".
Since this is a FAQ, see the FAQ site: https://matlab.fandom.com/wiki/FAQ#During_installation,_the_installer_crashes,_hangs,_gi...

4 days ago | 0

Answered
apply region growing code to my image
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

4 days ago | 0

Answered
Brace indexing is not supported for variables of this type.
Try this: filePattern = fullfile(pwd, '*.png'); imds = imageDatastore(filePattern) allFileNames = imds.Files; numFiles = num...

5 days ago | 1

| accepted

Answered
Creating sounds with changing amplitude
See attached demo where I vary both the pitch and amplitude of a sound waveform according to mathematical formulas.

5 days ago | 0

Answered
How can I add quiver in this according to their color?
Use annotation. Set the color according to the angle. Should be easy, right? You should not have removed all the comments whe...

5 days ago | 0

Answered
How to calculate coordinate of binary iamges boundary??
It looks like the boundary is pretty solid and you probably just want the top row, not the sides and bottom. So in that case I'...

5 days ago | 0

Load more