Community Profile

photo

Image Analyst


Last seen: Today
32,477 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
Why am I getting the error, "Array indices must be positive integers or logical values."
It's thoroughly explained in the FAQ: https://matlab.fandom.com/wiki/FAQ#.22Subscript_indices_must_either_be_real_positive_inte...

5 hours ago | 0

Answered
no need, thank you very much
Try this. Adapt as needed. data = randn(100, 1) + 10; h = histogram(data) dataMean = mean(data(:)) dataMedian = median(data...

5 hours ago | 0

Answered
How to Separate the RGB channels from an image and get the average of each RGB channel separetly
Like DGM, I'm not even sure what the goals are. The use case/context was never given. What is the fabric? What is the dye and...

5 hours ago | 0

Answered
How to Separate the RGB channels from an image and get the average of each RGB channel separetly
Have you tried the Color Thresholder on the Apps tab of the tool ribbon? It's pretty straightforward. Read in your image, choo...

14 hours ago | 0

Answered
Separating Objects in Binary Image
Call imfill() and then imerode(). Then mask it: Untested code mask2 = imfill(mask1, 'holes'); se = strel('disk', 3, 0); % Ad...

14 hours ago | 0

| accepted

Answered
how to dispaly the 2D matrix image?
You can use truesize as long as your image is not larger than your screen: img = uint8(randi(255, 256, 256)); imshow(img); ax...

15 hours ago | 0

Answered
Creating a histogram,
Try this: % Create a hundred thousand values ranging from 0 - 1000. numValues = 100000; r = 1000 * rand(numValues, 1); % Def...

1 day ago | 0

Answered
find the object closest to the center
First I'd get rid of the outer ring-shaped blob. Then I'd fill the remaining blobs. Then call regionprops() to get the centroi...

1 day ago | 1

Answered
How to find common peak and save it location
Try experimenting around with ismember().

3 days ago | 0

Answered
how to find the end point coordinates of an object in binary image.?
There is an easy way. Just use bwferet(): clc; % Clear the command window. close all; % Close all figures (except those o...

3 days ago | 1

Answered
Sum the digits of a number?
Here is how I did it: fprintf('Beginning to run %s.m ...\n', mfilename); % Get a random integer. originalNumber = int64(randi...

4 days ago | 0

Answered
EndPoints in 3D skeleton
bwmorph() has an 'endpoints' option. The image should be a skeleton. bwmorph() also has a skeleton option but I think bwskel()...

4 days ago | 0

Answered
Using K Means clustering to identify coactivation of neurons
"My problem lies in how to display these clusters" <=== use plot3() or scatter3().

4 days ago | 0

Answered
Finding the histogram difference between two pictures
Well there are lots of ways that code could be improved, but we can't fix it because it's an image. We can't fix or run an imag...

4 days ago | 1

Answered
how to find the end point coordinates of an object in binary image.?
What I would do is to use regionprops() to find the centroid and orientation. Then also call bwboundaries() to get the x,y coor...

5 days ago | 0

Answered
eval not working for a range of numbers
Why are you even using eval at all instead of simply doing this: thetaAB = sol.thetaAB; theta4 = sol.theta4; ???

5 days ago | 0

Answered
How to give names to the sheets using xlswrite?
Did you look at the documentation? The sheet name is the 3rd input argument to xlswrite(). It's best to name them as you write...

5 days ago | 0

Answered
Discrepancy between convolution and filtering
Your manual way is not flipping the kernel like conv2() does. So when the kernel is symmetric, the results will be the same and...

5 days ago | 0

| accepted

Answered
How to store vectors generated in a while loop in a single vector?
See if this does what you want: maxIterations = 500; % Failsafe for the while loop X = [0:0.01:1]; m = 1; nf = 101; Y = [];...

6 days ago | 0

Answered
How to get all yellow piexels that interact with the blue piexels?
Try this, using bwboundaries() from the Image Processing Toolbox: % Demo by Image Analyst. clc; % Clear the command window....

6 days ago | 0

| accepted

Answered
How can I find the mean of signal?
Not sure what "medaian" is but there are functions for mean and median. Did you try either of them? Also, what does "cikis 4" ...

6 days ago | 0

Answered
Changing the right panel gui in every choices in the left panel
In the callback function for the button, you need to put code to read the selected index in the listbox and do something with th...

6 days ago | 1

| accepted

Answered
Need help in figuring out the codes for this similar simulation of Flappy Bird please thank you.
That is not a program that beginners will be able to code up. It's a lot harder than it looks. But you can start to learn how ...

6 days ago | 0

Answered
While loop inside for loop fibonacci
Don't have the while loop. After you assign f(k), just break if the value is more than m for k=3:n f(k) = f(k-1) + f...

6 days ago | 0

Answered
How to Connecting nearby pixels of binary image
Are there really gaps/openings there or not? If they aren't there, then it looks like you just did the segmentation improperly,...

6 days ago | 0

Answered
Help with Syntax error
Your while loop will get into an infinite loop because your n never changes. while loops always need to have a failsafe which i...

6 days ago | 1

Answered
Can someone help with my syntax error
We can't run or fix an image. But this will be useful to you instead of x and y [rows, columns] = size(a) for col = 1 : colum...

6 days ago | 1

| accepted

Answered
How to find the period time of a signal if given only one period of the signal ?
If the entire length of the signal is known to be exactly one period, then the period is the length of the signal period = leng...

6 days ago | 0

Answered
Drawing a second order curve
Here's a start. Adapt as needed: clc; % Clear the command window. close all; % Close all figures (except those of imtool....

7 days ago | 0

Answered
specialist/gig help
You will find the best experts here: https://www.mathworks.com/services/consulting.html?s_tid=hp_ff_s_consulting

7 days ago | 1

Load more