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 2021
  • 36 Month Streak
  • Solver
  • Personal Best Downloads Level 5
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Most Accepted 2014
  • Thankful Level 5
  • Grand Master

View badges

Content Feed

Answered
How to calculate the average radius of a boundary in Matlab ?
Try this: % Example rng('default') x = rand(30,1); y = rand(30,1); plot(x,y,'r.', 'MarkerSize',30) grid on; xlim([-0.2 1....

1 hour ago | 0

Answered
Generating a mask from scratch
It's a trivial modification of the code in the FAQ that draws a ring. Just make two rings with different centers and radii. ht...

1 hour ago | 0

Answered
How to create ROI object handle?
Try this: h = figure; imshow(imread('pout.tif')); uiwait(helpdlg('Drag out a box')) rRect = imrect(); pos = rRect.getPositi...

14 hours ago | 0

Answered
Identify the closest and furthest points from the origin and mark them
Try this: % Original code: poissrnd(100,5,6); x=-0.5+(0.5+0.5)*rand(1,100); y =-0.5+(0.5+0.5)*rand(1,100); axis([-0.5 0.5 -...

17 hours ago | 0

Answered
I want to pass data between two windows of GUI
First see the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI(s)?

1 day ago | 0

Answered
Store trios of values from different vectors in an only vector
Try using meshgrid x = 1 : 100; y = 1 : 100; % Get an x and a y for every location. [X, Y] = meshgrid(x, y); % Construct th...

1 day ago | 1

Answered
Deconvolution of an image with a gaussian point spread function.
Maybe try some of the numerous built-in deconvolution methods, such as deconvlucy

1 day ago | 0

Answered
Problem with subplotting the results
You're putting all the plots in the same slot when you say "subplot(2,1,1)" : into the first row, first column of a 2 row, 1 col...

1 day ago | 0

Answered
Having warning errors ..
You didn't say what the warnings were, nor did you attach samples.mat, probably because you chose not to read the Community Guid...

1 day ago | 0

Answered
How to quickly identify a list of nearby stations?
Well let's see why it's slow. You have a million elements and you create an array that is a million by a million by 8 bytes. S...

1 day ago | 1

Answered
how to define a matrix element in matlab
To learn how to do this and other very basic things, invest two hours here: MATLAB Academy - Free 2 hour training

1 day ago | 0

Answered
Reading Seven segment display
See my attached (very old) demo. Try to adapt your code to do something similar. Or else attache your code that uses the new C...

2 days ago | 0

Answered
How to wrap image along a polygon
See Steve's blog: Spatial transformations Defining and applying custom transforms Steve on Image Processing

2 days ago | 0

| accepted

Answered
Real time counter plot
Try making an array like function ButtonPushed(app,event) if a.Counter == 0 allCounts = 0; else app...

2 days ago | 0

Answered
How to Save Multiple Figures in Loop?
You can use the newer exportgraphics in the loop: clear all; clc; k = 1 : 10 for i = 1 : 15 x = i * sin(i*pi/4) * k; ...

2 days ago | 1

Answered
How to Apply PSF to obtain the difference between two method?
Use surf and either imshow or image or imagesc.

2 days ago | 0

Answered
[SOLVED] Semi-colon not supressing output
Make sure echo is not on. Issue this command echo off

2 days ago | 0

Answered
How to find the pixel value of the center pixel and the maximum pixel value difference of the image?
Try this [rows, columns, numberOfColorChannels] = size(yourImage); % Find location of the center pixel. middleRow = round(row...

3 days ago | 0

| accepted

Answered
How to determine the size of a face in pixels from an image
Maybe try drawpolygon to trace the face. Then get the x,y coordinates of what you drew and call polyarea.

3 days ago | 0

Answered
Why can't I open MATLAB after installation?
See if you have a "C:\Program Files\MATLAB" folder. Or ask a classmate who has it working. Or call the Mathworks for free help...

3 days ago | 0

Answered
How to create a vertical offset line
Try xline and yline. You can use the 'LineWidth' and 'Color' option to set up the line thickness and color.

3 days ago | 0

Answered
cant seem to make the background fully black
Looks a lot like homework. Is it? What I'd try first is to create a background and then subtract it from the image. You can c...

3 days ago | 2

Answered
How to read matrix but skip rows
Try this: m = readmatrix(filename); [rows, columns] = size(m) % Split into 4 matrices m1 = m(1 : 4 : rows, :); m2 = m(2 : 4...

3 days ago | 0

Answered
How can I programmatically change all my matlab code to use "datetime" rather than "datestr(now)" ?
You can use control-shift-f and search for datestr(now). Unfortunately that multi-file search capability does not (yet) have a ...

3 days ago | 0

Answered
Height of circular shape
Try regionprops and ask for Bounding Box of your binary, segmented image. props = regionprops(mask, 'BoundingBox'); bb = vertc...

4 days ago | 0

Answered
Drawing a boundary box around an image?
You can use imclearborder to get rid of the white frame, then use regionprops on the blue channel. rgbImage = imread('box.png')...

4 days ago | 0

Answered
What does it mean to "% extract t and h(t) for time range 5.0<=t<=12.0" when "h=4.0+6.0*t*10^-0.5-(4*10^-0.25)*cos(0.75*pi*t)"?; when
t is defined over some range, like 0 to 50 or whatever. Then the comment says they only want h values for t that is in the rang...

4 days ago | 0

Answered
how to remove the tiny white pixels around the rectangles
Depends on exactly what that means. Do you want to simply remove small blobs? Or do you also want to remove a small protru...

4 days ago | 0

Answered
Finding the highest mountain peak
Why can't you just do this to find the row and column of the max for each of the 10 slices of data: for k = 1 : size(Z, 3) ...

4 days ago | 0

Answered
Is there any implementation of the KMD clustering in Matlab ?
Well we have dbscan which would work well for bullseye-shaped data. See attached demo db scan demo. I've also included my othe...

4 days ago | 0

| accepted

Load more