Community Profile

photo

Image Analyst


27,987 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
how to convert file .mat into .jpg
I don't believe JPG format can take a stack of images. You have to take them out of the stack and write the images one at a tim...

8 hours ago | 0

Answered
Determine the proportion of specific colours in an image
Unless you have some specific definition of the colors, I'd suggest you try rgb2ind() and see if you're happy with that. You ca...

9 hours ago | 0

Answered
How to ask MATLAB to predict the next value in a graph
Use polyfit() and polyval(): coefficients = polyfit(t, cost, 1); % Do a linear fit predictedCost = polyval(coefficients, t); %...

9 hours ago | 0

Answered
Create GUI to desktop apps
Call the Mathworks sales department to learn what compiler you need and how much it will cost. Just to warn you, it's VERY expe...

13 hours ago | 0

| accepted

Answered
draw circle for ROI in an image ?
Try imellipse(), or imfreehand() (demo attached).

15 hours ago | 1

| accepted

Answered
قمت بتنزيل الماتلاب السنة الماضية من موقعكم الرسمي والان قمت بفرمتت الجهاز هل يجب ان اشتري البرنامج من جديد؟
You don't need to buy it again if your computer broke. You can just download and reinstall. Contact technical support if you n...

15 hours ago | 0

Answered
My Matlab keeps crashing
FAQ: https://matlab.wikia.com/wiki/FAQ#After_installation.2C_MATLAB_crashes_or_gives_an_error_message_when_I_try_to_run_MATLAB.

22 hours ago | 0

Answered
Switching between axes in GUI
I'm not sure how you're rotating it (automatically via code, or by the user grabbing it and spinning it), but bascially to switc...

23 hours ago | 0

Answered
How to get frequency of a wav file for per cycle in matlab?
If you have the Signal Processing Toolbox, try spectrogram() or pwelch(). Otherwise, try fft().

1 day ago | 1

| accepted

Answered
Can a UI Figure be centered before displaying?
Try this: h = figure; % Create a figure. h.Visible = 'off'; % Hide it immediately. h.Units = 'normalized'; % Get original wi...

1 day ago | 0

Answered
find peaks in a mesh plot
If you have the Image Processing Toolbox, use imregionalmax() on the 3-D height (signal) array that you plotted.

1 day ago | 0

Answered
Repalce zero element by the number before it ?
Faraj: Did you try the super obvious solution: a very simple "for" loop: N = [2 0 7 0 9 10 0 0 1...

1 day ago | 1

| accepted

Answered
Calculating with high precision at all times
Yes, I believe so, if you specify enough decimal points in fprintf() when you print your results to the command window. Otherwi...

1 day ago | 0

Answered
image() and imread() displays lower quality image
I think the image is just being subsampled for display. If you zoom in you'll probably see all the details. See attached zoom ...

1 day ago | 0

| accepted

Answered
How can I display an image on a point of the plot?
Is this kind of what you're looking for? To display an image on a graph? % Draw a small image inset in the upper right corner ...

1 day ago | 0

Answered
Receiving the error "Dimensions of arrays being concatenated are not consistent." Help!
Change these two lines chickenPox = [37140 32169 37533 39103 33244 23269 16737 5411 3435 6052 12825 23332]'; to a single line...

1 day ago | 1

| accepted

Answered
How can I embed MCR in an executable file?
I don't recommend it. There are installer packages that can bundle everything in, like Centurion, into a single executable, but...

2 days ago | 0

Answered
How to create a circles (smallest and biggest circle) based on points in an image given, then find the center and radius?
To get the minimal bounding outer circle, try this: John D'Errico's File Exchange I asked John for the largest interior circ...

3 days ago | 0

| accepted

Answered
matlab cuts colors from color map
You are doing stuff that doesn't make sense, perhaps because you didn't realize it because you didn't use descriptive variable n...

4 days ago | 1

| accepted

Answered
Same bins for histogram
Instead of passing in one number, that represents the number of bins, pass in an array for the 'edges' option. This is how you ...

4 days ago | 0

Answered
How to sum (row,col) until the first red pixel
I believe I answered the image in your duplicate question Here it is again: I think this does what you want. clc; % Clear ...

4 days ago | 2

| accepted

Answered
How to draw many rectangles by sliding window?
You forgot to attach your image. Why not simply use the Color Thresholder app on the Apps tab of the tool ribbon? Or else ve...

5 days ago | 1

Answered
Find the location of the change
Use diff() and line() Something like (untested) dy = 0, diff(y)]; % Get non-zero dy mask = dy~= 0; dy = dy(mask); xx = x(m...

5 days ago | 0

Answered
How to fit a line through this data "smartly" ?
I plotted the data then it looked like the squirrely stuff stopped around element 2300 or so, and started to get fairly linear a...

5 days ago | 0

Answered
How can I check a specific axes has an image or not ?
What you accepted as the answer is really not the answer as Walter explained. You can use getimage() and check for zero-sized i...

5 days ago | 2

Answered
How can I display the different axes and the centroid of an ellipse dynamicaly on an edit box while the ellipse is moving on an image and changing size?
If the ellipse is dynamic (moving continuously/automatically) you probably just need to have a "drawnow" after every time you se...

5 days ago | 0

Answered
How to generate array (x:2)
Try this: [x, y] = ndgrid(1:17, 1:17) data = [x(:), y(:)]; repeatRows = data(:, 1) == data(:, 2); % Find rows where col 1 = c...

6 days ago | 0

Answered
How to do adaptive thresholding with the input as the ouput of morphological closing operation in the previous stage.
In this line: T = adaptthresh(Ioc,0.4,'ForegroundPolarity','dark'); Ioc is a logical (binary) image. It makes no sense whatso...

6 days ago | 0

Answered
Compute 3D distance between 32 points
To find the distance from every one of 16 points to every one of another set of 16 points would give 16 * 16 = 256 distances. Y...

6 days ago | 0

| accepted

Answered
how to crop bigger size of blob in binary image and count its pixel .
Not sure what you mean. You can use imcrop() if you want. You can also find the bounding boxes if you want: props = regionpro...

6 days ago | 0

| accepted

Load more