Community Profile

photo

Image Analyst


Last seen: Today
32,121 total contributions 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

Image Analyst's Badges

  • 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 4
  • Grand Master
  • Revival Level 4
  • Knowledgeable Level 4
  • First Answer

View details...

Contributions in
View by

Answered
Change font and fontsize in uialert of title and message text?
See attached demos.

1 hour ago | 0

Answered
how to calculate area region growing
You accepted an answer, so is it solved already? If not, what is this regiongrowing() function you mentioned? You should just ...

2 hours ago | 0

Answered
finding the radii of circles knowing the center of those circles
You can do this: mask = grayImage > 50; % Or whatever props = regionprops(mask, 'Centroid', 'EquivDiameter', 'Area'); allDiam...

12 hours ago | 1

| accepted

Answered
Purple colour extraction only
Try this: mask = imdilate(redChannel>200, true(5)); %the mask

2 days ago | 0

| accepted

Answered
Display Folder Browser in MatLab Online?
Try issuing the >> filebrowser command.

2 days ago | 0

Answered
setting the limits for negative values for colormap
What are the values when it crashes: minValue = min(C{g,1}(:,1)) maxValue = max(C{g,1}(:,1)) fprintf('Min = %f, max = %f.\n'...

2 days ago | 0

Answered
Saving full screen multiple figures
Try this: clear all; close all; clc; format long g; format compact; fontSize = 18; fprintf('Beginning to run %s.m ...\n',...

2 days ago | 1

| accepted

Answered
How to compare two colors?
JD, I haven't heard back from you so I assume you're having a lot of trouble. Maybe start with this simple script where I compa...

2 days ago | 0

Answered
How to compare two colors?
There are several ways to do this. For example you can use statistical discriminant analysis in RGB color space, like the attac...

2 days ago | 0

Answered
Finding the trajectory of a projectile
Attached is a program my son and I did for his college physics course. It computes just about everything you could possibly wan...

2 days ago | 1

| accepted

Answered
How to plot a graph with a for loop
You need to define x with linspace() and then use hold on in the loop: x = linspace(0, pi/4, 500); for n = 0 : 10 S = cos(n*...

2 days ago | 0

| accepted

Answered
Please, How do I determine the Mean Absolute Value (MAV) of an acoustic signal, which has positive and negative data points?
Not sure what you mean by "Mean Average Signal" - that's kind of redundant isn't it. Mean and Average mean the same thing. Wha...

3 days ago | 0

Answered
max number of matrix to python
It takes column 2 of the matrix xx and gets the max value in that column 2 and sticks it in the variable called n (yeah - bad na...

3 days ago | 0

Answered
If statement for a struct with 2 conditions
To compare strings use strcmpi() or strcmp() and put the index right after s. if strcmpi(s(i).condition, 'condi1') && (s.point(...

3 days ago | 0

Answered
Cell array row deletion
Use ismember(). Something like... fileNamePattern = 'MUSE20180113_171327_27000'; % Compare this character array to the list o...

3 days ago | 0

Answered
Replacing a cell value in a struct
This works: % Identify what number should replace what character vector. replacements = {'condi1', 1; 'condi2', 2; 'condi3', 3...

3 days ago | 0

| accepted

Answered
How can I remove the additive periodical noise from the image?
See attached demo. Because your bars are so sharp I'd probably rather fix the image in the spatial domain rather than the frequ...

3 days ago | 0

Answered
Can Matlab handle this color scheme?
See my answer here, where I vary the line color for two cases: along the y axis (which you want), and along the x axis. https:/...

3 days ago | 0

Answered
Can Matlab handle this color scheme?
Perhaps this might help: https://www.mathworks.com/matlabcentral/answers/5042-how-do-i-vary-color-along-a-2d-line#comment_12725...

3 days ago | 0

| accepted

Answered
Replacing a cell value in a struct
Yes. For example to set the "condition" field to the number 5, do this: yourStruct.condition = 5; It doesn't matter that it u...

3 days ago | 0

Answered
Find all objects which have a callback
Check the Type and Style property to determine what kind of control it is. Here, this may give you ideas: % DisableAllControls...

3 days ago | 0

Answered
Vlaue of Slider --> EditField
I don't use app Designer, but isn't it something like value = app.sliderName.Value; app.EditField.String = sprintf('%.3f', val...

3 days ago | 1

| accepted

Answered
Is it possible to get the boundary size of an object in an image same after rotation of the image by a particular angle?
The number of elements that describe a boundary will of course vary. Just think about it a little and you'll realize why. If y...

4 days ago | 0

Answered
How to make this code more efficient, and also how to output results to single excel file with multiple sheets?
If you make your variable a cell array, you can combine column header strings with numbers. Since sample changes only within th...

4 days ago | 0

| accepted

Answered
Help with Monte Carlo
For your normal distribution rather than just say it's between 7 and 77, you should give its mean and standard deviation. Then ...

4 days ago | 0

Answered
Bi-linear Regression- Model fitting
See attached demo, that I've posted many, many times before. The algorithm is I divide the data into two sections (left and rig...

4 days ago | 0

Answered
Hello everyone, I would like to ask a question how to parameterize data points?
Wow, what a load of mathematical gobbledygook. Could they make it any more obtuse? Anyway, here is a start: s = load('data1.m...

5 days ago | 0

Answered
How to print same input file name as the output file name
Try this: [inputFolder, inputBaseFileNameNoExt, ext] = fileparts(fullInputFileName); outputFolder = fullfile(inputFolder, '/Ou...

5 days ago | 0

Answered
Finding a specific pair of points in 2 matrices placed at the same index on both
Try this: A = [1 2 3 ; 2 3 6] B = [6 7 7; 4 8 9] usersAValue = 2.9 usersBValue = 7.9 % Specify how close they can be and st...

5 days ago | 0

Answered
Counting Specific Number of Consecutive Values in a Matrix
Here's another way using the Image Processing Toolbox to filter out short sequences and count how many are left: A = [1 0 0 1 1...

5 days ago | 0

| accepted

Load more