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

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 4
  • Grand Master

View badges

Content Feed

Answered
how to subplot different size
Try subplot(2, 2, k); % k is 1, 2, 3, or 4 g = gcf; g.WindowState = 'maximized'; to make it a 2 by 2 array of images and ma...

5 hours ago | 0

Answered
Matlab equivalent of python code to rotate an image
@Marcel345614, thanks for reinforcing why I use MATLAB instead of Python! 😄 image=flipdim(image ,1); % is this correct?? No ...

5 hours ago | 1

Answered
What should go in a next-generation MATLAB X?
I wish there was a way to undo Editor text changes to the max level possible. Clicking the little blue curved arrow 50 times to...

5 hours ago | 0

Answered
I need to kow the exact process for making a 2016 stand alone executable
You can use the mcc command. mcc -m yourMFile.m If you still have the R2016a version, use that. Otherwise use your current v...

17 hours ago | 0

Answered
I want to only interpolate shorter amounts of data and leave the longer amounts of NaN not interpolated.
This works. It uses the bwareaopen() function in the Image Processing Toolbox to throw out stretches of nans longer than you sp...

21 hours ago | 0

Answered
Use shape Factor to judge cell or bacteria
Maybe try imfindcircles()

21 hours ago | 0

Answered
How to use variable names/strings in a For cycle
See the FAQ for why that is a horrible idea: https://matlab.fandom.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2C_A1...

1 day ago | 0

Answered
How do i assign the number(variable) to the name of variable?
You can simply do this data_N100 = 100; There is no prohibition of having numbers in the variable names. Hopefully you don't ...

1 day ago | 0

| accepted

Answered
file path error in matlab
It will work with any path as long as that file exists, which yours does not. Are you sure it has two dots in it? That would b...

1 day ago | 0

Answered
How to randomly choose three pixels and use their values in kmeans
See my attached example for how to do kmeans on a color image. In general kmeans is not a good color segmentation method. You'...

1 day ago | 0

Answered
Classify 7 classes of signals with svm classifier.
You can use Classification Learner. If you can't figure it out, attach your data after reading this: TUTORIAL: How to ask a qu...

1 day ago | 0

Answered
Change Symbol on Valleys
Try this: fs=100; % Sampling frequency (samples per second) dt = 1/fs; % seconds per sample; the sampling period t=0:dt:10; ...

2 days ago | 1

Answered
how to break large data into groups and run same steps in a loop for each group?
Try this: tic; x = 1:100000000; data= [ sin(x), cos(x), tan(x), x]; numElements = length(x); theMeans = zeros(1, 4); for k...

2 days ago | 1

| accepted

Answered
Measure the distance of a curve within an image
I'd just get a mask of the blue line. Like [r, g, b] = imsplit(rgbImage); blueMask = r == 0 & g == 0 & b == 255; or you can ...

2 days ago | 0

Answered
Please write a script for summation of 1/k
Is summation.m a function or a script? If it's what you posted already, it's a script and should not give any error about input...

3 days ago | 0

Answered
How to automatically obtain shape coordinates
Here is yet another way: grayImage = imread('uno.png'); subplot(2, 2, 1); imshow(grayImage, []); title('Original Image.') i...

3 days ago | 0

Answered
How to save figures on the program general folder?
Use pwd to get the current folder where your source code is, and then use fullfile(), isfolder(), and exportgraphics(): % Defin...

3 days ago | 0

| accepted

Answered
How to add color to the specified blob in a binary image according to the aspect ratio
Try this (untested): % Initialization Steps. clc; % Clear the command window. close all; % Close all figures (except thos...

3 days ago | 0

| accepted

Answered
PIXEL counting at grey scaled picture
And yet another option: brightRegions = grayImage >= 200; numBrightPixels = nnz(brightRegions);

3 days ago | 0

Answered
how can i insert photo to a graph location
To put an image onto a graph, see this demo: % Draw a small image inset in the upper right corner of a larger plot. % Ref: htt...

3 days ago | 0

Answered
How to calculate velocity frame by frame
I'd probably just get the velocity of the central part as it moves left. So take the average horizontal profile along some band...

3 days ago | 0

| accepted

Answered
How can I properly fit the skeleton in the first image?
Why is it hard? Just figure out how many rows 1/8 of the total number of rows is and take those with regular indexing. xy = ra...

4 days ago | 0

Answered
Analyzing medal counts in all olympia data
fileName = 'medals_total.csv' t = readtable(fileName); % Get rid of last row t = t(1:end-1, :) counts = t.CombinedTotal; so...

4 days ago | 0

| accepted

Answered
Program on digital processing of thoracic x-ray images
If you cannot use MATLAB, then I'm afraid we cannot help. This is a forum for helping people with their MATLAB programming. Wh...

4 days ago | 0

Answered
how do i update a value of a particular column of a cell without changing other columns and store the updated value along with other columns in other cell?
[~, ~, raw] = xlsread(inputFileName); % Read from input file. raw{someRow, someColumn} = someDifferentValue; % Replace the cell...

4 days ago | 0

| accepted

Answered
solutions for every iteration
You need to index your variables to make them vectors (lists of values) rather than just overwriting them every iterations, like...

4 days ago | 1

Answered
convert RGB to YUV and convert YUV to RGB
This works fine: % Initialization Steps. clc; % Clear the command window. close all; % Close all figures (except those of...

4 days ago | 0

Answered
Distance between points in a graph
I your points are in a matrix called xy, with each point being a row, and you want to find the distance of every point to every ...

4 days ago | 0

| accepted

Answered
i am new to matlab and i want to learn, can anyone help me with this please!!!!
See my attached demo for polyfit. It will be easy for you to adapt it. coefficients = polyfit(x, y, 2); yFit = polyval(coeffi...

5 days ago | 0

| accepted

Answered
work(x, xvector, fdata) Unrecognized function or variable 'x'.
Evidently this is everyone's homework problem. Go here for a similar question: https://www.mathworks.com/matlabcentral/answers...

5 days ago | 0

Load more