Community Profile

photo

Image Analyst


26,361 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
classifying matrix value based on its element
Have you tried sortrows()? sig3sorted = sortrows(data, 3);

11 hours ago | 0

Answered
How to extract the scatter data based on a function
I have *_no idea_* what "sign the data" with 0 or 1 means, but to get the data under and above/outside the function, try somethi...

1 day ago | 0

Answered
NEED HELP FAST! I have several problem about ASCII file.
What did you try? Did you try the obvious data(isnan(data)) = -99.9999; ?? What error message did you get?

1 day ago | 0

Answered
Minimum value of select cell elements?
Here's a way that takes only 0.001 seconds on my machine: tic lastValues = inf * ones(20*50, 1); for index = 1 : 20*5...

1 day ago | 0

Answered
how to get vertices after using bwconvhull ?
Call bwboundaries on the convex hull image, then pass those coordinates into convhull().

1 day ago | 0

Answered
Why is VideoWriter only writing the first frame to a file?
This works fine for me with Windows 10: filename = fullfile(pwd, 'SIN_X_COS_X.avi'); vidObj = VideoWriter(filename); ...

1 day ago | 0

Answered
How to create a pop up window/box that will display outputs?
Like you said, just create the overall master template (with all the colors, fonts, etc.), copy the template into a workbook for...

1 day ago | 0

Answered
How to select only those image folders containing images more than 100. From a set of 193 image folders.
karthik, try this: SetDir = fullfile('D:\MATLAB\Proj_Work\seperated'); % My Main folder path. imds = imageDatastore...

2 days ago | 0

| accepted

Answered
Regression with a rolling window
"Regression with a rolling window" <== this is _exactly_ what the Savitzky-Golay filter is. If you have the Signal Processing T...

2 days ago | 0

Answered
How can I calculate summary of sub matrix in very large matrix ?
By "summary", I assume you mean "sum". If so, just do subMatrix = m(topRow:topRow+height-1, leftCol:leftCol+width-1); the...

2 days ago | 0

Answered
Instability of computation time for a matlab code
Maybe a virus scan or backup was happening during the slow times, or a corporate download of new or additional software. These ...

2 days ago | 0

Answered
How can I toggle a transparent image overlaid on another image?
Why not just clear the lines using a function like this: %=================================================================...

2 days ago | 0

Answered
How to send matrices to ThingSpeak?
You're sending in a cell array since you have braces around your arrays, but since you say it's not working, maybe try convertin...

2 days ago | 0

Answered
Easy way to divide a field in a struct by a number?
If you want to extract them into a double variable you can avoid a for loop (though one might be done internally with []): ...

2 days ago | 0

Answered
How to make a 3D matrix in Image sequence in the form of tiff
Try this: image3D = cat(3, image2D1, image2D2, image2D3, image2D4); Concatenate as many 2-D images as you want just by i...

2 days ago | 0

Answered
Matlab to write on already open excel file
_"It looks like it's possible only on file already open before I open Matlab"_ With actxGetRunningServer() that might be true...

3 days ago | 0

Answered
Saving as csv file?
Don't use quotes around Frequency. xlswrite('Signals.xls', Frequency) It differs from the save() function, where you _do...

3 days ago | 0

| accepted

Answered
Row Wise concatenation?
Try this: AB = reshape([a, B]', 3, [])' % Interleave arrays.

3 days ago | 0

| accepted

Answered
How can I perform a PCA analysis over 3D data?
See my attached 3-D PCA demo. My 3-D array is an RGB image.

3 days ago | 0

| accepted

Answered
How can i get x,y points of squares center ?
First of all, use a better exposure. Having a brighter image will give you more contrast and less noise. Then you can just use...

3 days ago | 0

| accepted

Answered
How do I get the last element of a cell array from a function call?
Try this: % Put contents of last cell of the twinSplit cell array into step_BoundaryT step_BoundaryT = twinSplit{end};

3 days ago | 0

Answered
How to take the co-ordinate values in MatLab
Personally I'd use meshgrid() - a useful function that you might want to learn about: [rows, columns] = size(A) [x, y] =...

4 days ago | 0

Answered
What is the color spec for default blue?
You can get all the default colors like this: % Get the initial set of default plot colors. initialColorOrder = get(gca,...

4 days ago | 0

Answered
How to detect a specific image object and the crop object from the input images
Muhammad: Attached is a full demo that works with your image that you posted. It assumes that the band height is fixed - all...

4 days ago | 0

| accepted

Answered
How to get the temperature from a thermal image captured by an ov7670 camera
Doesn't the camera export the temperature image? Or just a pseudocolored image? See attached demo. <</matlabcentral/answers...

4 days ago | 0

Answered
Getting the equation for a region in an image
I don't understand how finding the top edge gives you the volume. Why don't you just use <https://www.mathworks.com/matlabcentr...

4 days ago | 1

Answered
Help with using SURF to analyze an image?
Perhaps you'd like *meshcanopy*: <https://www.mathworks.com/matlabcentral/fileexchange/29485-meshcanopy> <<https://www.mathwo...

4 days ago | 0

Answered
Read the the pixel value and rebuild an image
I don't know why you're opening a tiff format file and trying to read it and rebuilt it a pixel at a time. Simply open it as a ...

5 days ago | 0

Answered
I want to find the centroid for the marked object.
After my comment above, you've probably already solved this, but for what it's worth, here is my solution. I didn't draw the li...

5 days ago | 0

| accepted

Answered
If I have three graphs and I want to place them over one another so that their mean values align, and then want to create a trend line among those graphs how would I do this?
Try this: x1=[1:0.03:500]; y1 = x1.^4; x2 = [100:0.01:600]; y2 = x2.^2+30; plot(x1,y1, 'r-', 'LineWidth', 2...

5 days ago | 0

Load more