Community Profile

photo

Image Analyst


Last seen: Today
31,090 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

  • 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
Add transparency to colormap
I'd probably create a new RGB image with the colormap and ind2rgb(). Then take a weighted average of them rgbImage = cat(3, gr...

3 days ago | 0

Answered
Why subplots doesn't work?
Both of your code snippets plot both subplots on a single figure. The two subplots are not on different figures. It makes no d...

3 days ago | 0

Answered
Huge white space around the plot after saving
Try exportgraphics() instead of print().

3 days ago | 1

| accepted

Answered
Accessing Elements in a 3D matrix using Linear Indexing ?
Yes, it's possible but you'd need 3 dimensions for the linear array, not 2. So not M-by-N but rows-by-columns-by-slice. [rows,...

3 days ago | 0

Answered
Plot a filled black circle on a certain background
See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_do_I_create_a_circle.3F

3 days ago | 0

Answered
Obtain average image threshold without the background
Try this: clc; % Clear the command window. close all; % Close all figures (except those of imtool.) clear; % Erase all e...

4 days ago | 1

| accepted

Answered
calculating error while averaging multiple images
See my attached demo. It averages RGB and gray scale images and gives statistics about them.. Adapt as needed.

4 days ago | 1

Answered
Error using Video Writer
If your subsequent images are not the same size as the first frame, you could call imresize() to make them the same size.

4 days ago | 0

| accepted

Answered
Find whether there is a trend over time or the data is completely random
Star Strider will know, but until he answers the only thing I can suggest is looking into the chi-squared test.

4 days ago | 0

Answered
Shape identification from array data
See my attached shape identification demos. You could also use deep learning if you have a set of shapes to train on.

4 days ago | 0

Answered
Undefined function 'predict' for input arguments of type 'classreg.learning.partition.RegressionPartitionedLinear'.
What does this say >> which -all predict Also if you run the attached program, what does it say?

4 days ago | 0

| accepted

Answered
Issues in pca transformation
Since you're using random numbers, why do you think that exactly 50% of your points should fall into each of two classes? Your ...

4 days ago | 0

Answered
Transform image in matlab
See Steve's blog: http://blogs.mathworks.com/steve/2006/08/04/spatial-transformations-defining-and-applying-custom-transforms/

4 days ago | 0

Answered
Transforming a matrix in an image
First of all, your image is A, not im. im is what imshow returns and it is the handle to an image object, not an actual image i...

4 days ago | 0

| accepted

Answered
i am trying to do this code
You need to do it on the gray scale image. Here's a little bit more: clc; % Clear the command window. fprintf('Beginning t...

5 days ago | 0

Answered
i am trying to do this code
You cannot do this: [m,n,5]=size(A); Like I said before in your prior/duplicate question, the third output must be a variable:...

5 days ago | 0

Answered
how to transfer a 3D variable into a row in an excel file?
In general, you can make a row vector out of your 3-D variable like this: rowVector = array3d(:)'; % Now write to Excel xlswr...

5 days ago | 0

| accepted

Answered
what is wrong here? ??? Error using ==> times Matrix dimensions must agree.
Never do this with an image: [m,n]=size(A); Why not? Because if A is RGB, which yours is, then your n is the number of column...

5 days ago | 0

| accepted

Answered
two clustering algorithm's graph in a single plot
What is "affinity propagation clustering graph"? Do you have code to make that? In general, call "hold on" and then call scatt...

5 days ago | 0

Answered
Marking landmarks in image and determining real time distance panned by camera based on pixel value
This is what I see, and why we prefer that you attach the image here instead of on third party sites: It's all black. Perhap...

5 days ago | 0

Answered
apply knn over kmeans clustering
No, I don't think so. kmeans() assigns a class to every point with no guidance at all. knn assigns a class based on a referenc...

5 days ago | 0

Answered
Help ! mcc -m NOT WORK
Could be lots of reasons. Maybe you no longer have a license for the Compiler Toolbox. Maybe there is a syntax error on that l...

5 days ago | 0

Answered
How to compare one H,S and V histogram with another H,S and V histogram
Perhaps you just want to take the mean and standard deviation of each histogram. Why don't you look into CBIR papers to see how...

5 days ago | 0

Answered
sum of two convolution
You have to determine what the time (or s) axis is, then expand A on the correct side so that it's 6 elements long. In general,...

5 days ago | 0

| accepted

Answered
How to make label on the image and find the distance?
I don't know how a label would help you "for finding the distace". But anyway, to put a text label on the image use the text() ...

5 days ago | 0

Answered
evaluating binary substring to decimal value
Mohamed: That code, which is part C and part MATLAB, would be this in MATLAB: function total=EvaluateBinary(substring) byteSi...

5 days ago | 0

Answered
Convert color images to binary images, which can be implemented in matlab 7 and not run in 2014a
Only convert to gray scale if the image is definitely RGB. Make sure you use all 3 outputs when using size() with images. See...

5 days ago | 0

Answered
Undefined function or variable 'imnlmfilt'
It was introduced in R2018b. Try to upgrade.

6 days ago | 0

Answered
Generate histogram of HSV quantized image
Why are you calling multithresh() and imquantize() to quantize it. Just call histogram() if you want the histogram. Your subje...

6 days ago | 0

| accepted

Answered
How to convert omnidirectional/ 360 degree image into rectangular form?
What I'd do is to find the inner and outer radii. Lots of ways to do that but you can just take a guess if you want. Then conve...

6 days ago | 0

Load more