Community Profile

photo

Image Analyst


27,339 total contributions since 2010

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

Image Analyst's Badges

  • 36 Month Streak
  • Most Accepted 2014
  • Thankful Level 4
  • Grand Master
  • Revival Level 4
  • Knowledgeable Level 4
  • First Answer

View details...

Contributions in
View by

Answered
fprintf the contents of a vector
You could get rid of two of the fprintf's: fprintf('My first vector: ') fprintf('%d ', vector1) fprintf('\nMy second vector: ...

10 hours ago | 0

Answered
For loop not working - How to properly loop inconsistent iterations with matrices?
In the line a(i+1) = (P(i+1)*area)./m; m is an array after the first iteration. Do you mean a(i+1) = (P(i+1)*area)./m(i);

13 hours ago | 1

| accepted

Answered
How to make a figure have the right aspect ratio?
Look at the axis() function. After you make the axis/plot/graphs, try axis equal or axis square One of them should be what...

13 hours ago | 0

| accepted

Answered
Does anyone know how can I identify the corners on this picture? I've tried to use the corners function but it doesnt identify all the corners and places several points along the edges. Thank you
You can use poly2mask to turn that outline into a solid binary image. Then you can use regionprops() to find the centroid. The...

14 hours ago | 0

Answered
SIMPLE QUESTION : Partiation of data
Try this, where "data" is your array: data1 = data(:, 1:120); data2 = data(:, 121:240); data3 = data(:, 241:360); data4 = ...

15 hours ago | 0

Answered
how to adjust box size of blob analysis
After you crop it, use the padarray() function to pad all the way around with some margin.

15 hours ago | 0

Answered
please, how do we give each region a color after the segmentation ?
Try this: labeledImage = bwlabel(binaryImage, 8); % Label each blob so we can make measurements of it % labeledImage is an...

16 hours ago | 0

Answered
how to remove some lines of a file?
Try this: % Define lines to be removed bannedLines = {'*Elset, elset=granulation, generate' '1, 8393, 1' '** Section:...

16 hours ago | 0

Answered
How to make a plot move in random directions
You can use the rectangle() function to create a circle of the desired size. In a loop, set the x and y location of it.

1 day ago | 0

Answered
How can I fix Error using files=dir command
Try this: % Make sure ending starts with a dot. if ending(1) ~= '.' ending = ['.', ending] end if isempty(fileString) ...

1 day ago | 0

Answered
how to detect circular objects
See how Steve Eddins did it in his blog: Image Processing Blog

1 day ago | 0

Answered
Why do I have different results?
The R in RMSE means root, or square root. Check out this line of code rmse = sqrt(mse); so, now, you say "I do observe I have...

1 day ago | 0

Answered
Return average of grades as a column vector?
If you want to use a for loop, this will work: % Define data. s = {'john' 'B+' [ 75 79 80]; 'judith' 'A' [91 92]; ' Tom ' ' B ...

1 day ago | 0

Answered
Convert RGB color image to grayscale.
Try this: % Sample call % colourimage = imread('peppers.png'); % Y = rgb2luma(colourimage); % imshow(Y); function Y = rgb2l...

1 day ago | 0

Answered
scratch or defect (?) detection
You need to contact a professional to get your image capture situation fixed. Those are horrible images. If you want to find s...

1 day ago | 0

Answered
How to find length, width,edges of rice in this image??
See my Image Processing Tutorial in My File Exchange

1 day ago | 0

| accepted

Answered
last night my pc done an update and my matlab is stuck in initializing
Call them on the phone NOW!, before they head home for the weekend. You can get fast and free telephone help since it's an inst...

1 day ago | 0

Answered
Using the PNG algorithm to save a .mat file
It does not look like it according to the help. It just uses some internal compression scheme and you have no control over that...

1 day ago | 0

Answered
what toolbox do I need to fit an exponential with bounded parameters?
You do not need Simulink or the Curve Fitting Toolbox. You can use the more common Statistics and Machine Learning Toolbox and ...

2 days ago | 0

Answered
Index exceeds array bounds error when trying to reach .tif images from file
Try making it more robust to discover what the problem is: folder = 'C:/Users/andromache/Desktop/Research/data/other/180319_1...

2 days ago | 0

Answered
resize each symbol in binary image based off specific dimensions then put the image back together again?
Try this: clc; % Clear the command window. close all; % Close all figures (except those of imtool.) clear; % Erase all e...

2 days ago | 0

Answered
fitting an equation to the curve
My favorite fitting function is fitnlm() in the Statistics and Machine Learning toolbox. It could easily find this n. Just att...

3 days ago | 0

Answered
How to I apply Gaussian filter on images in MATLAB?
You need to look at the documentation when the error say "too many arguments". Several of your arguments were wrong. Here is t...

3 days ago | 0

| accepted

Answered
How to fill in boundaries (Image)
Yes, imfill(): binaryImage = imfill(binaryImage, 'holes');

3 days ago | 0

Answered
How can I fit an exponential curve?
Here's another way using fitnlm(). I get coefficients = 0.0124001386786833 6.04782212479857 -1.1...

3 days ago | 0

Answered
Numerically solving x + Asin(Wx+C) = 0, for x. (A, W & C are known constants)
One very simple way to solve for x when y is zero is to just create a bunch of y and see which is closest to zero. No fancy, co...

3 days ago | 0

Answered
How do I plot multiple random lines, of length 1, not connected to one another?
Use the function line() inside the loop, not plot() after the loop line([x1, x2], [y1, y2]);

4 days ago | 0

Answered
[Solved?] How do I use the image processing toolbox to draw boxes around part of a scanned image
I'd call imclose() to merge together nearby blobs. Then I'd call bwareafilt() to extract the two largest. Then call regionprop...

4 days ago | 0

Answered
Slowdown of Reading Large Binary Files
Maybe try memmapfile(). I've never used it myself so I can't offer anything beyond a suggestion to look into it.

4 days ago | 0

Answered
How create a programm which create new menu item in matlab
Use App Designer: App Designer

4 days ago | 0

Load more