Community Profile

photo

Image Analyst


28.674 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
Calculate average of specific values in one table column
Try extracting the last column, then reshaping so that there are only 4 rows, then using mean(). % Extract last column of table...

ongeveer 21 uur ago | 0

| accepted

Answered
Create multiple ROI in same image in App Designer and store the data in a struct
Just append it to your structure: roiStruct(end+1).roi = yourROI; yourROI could be any form, for example an ROI object, or an ...

ongeveer 21 uur ago | 0

Answered
How to know maximal x and y cordinate in image
To get the maximum pixel coordinate for an image, that's simply the number of rows and columns. [rows, columns, numberOfColor...

1 dag ago | 0

Answered
How to retrieve intensities of a ROI in App Designer
See attached demos for masking.

2 dagen ago | 0

| accepted

Answered
How do I save multiple vectors and use them to display multiple plots at once
After you call plot() the first time, call "hold on" plot(................ hold on; % more calls to plot......

2 dagen ago | 0

Answered
Histogram from masked area of grayscale picture
Attach a .mat file containing your grayImage and mask. Alternatively, just do histogram(grayImage(mask), 256, 'EdgeColor', 'no...

3 dagen ago | 0

Answered
how to combine a GUI timer with battleship game
FYI, the MATLAB Facebook page has an item on Battleship: Battleship

3 dagen ago | 0

Answered
Corner detection in freehand drawings
Count the vertices. See my attached demo.

4 dagen ago | 0

Answered
Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 2-by-1.
cfs and fifs are both 2 values, so you're trying to stick two values into one index. Change the fs line to this and see what yo...

4 dagen ago | 1

Answered
the equivalent matlab code for areg ,absorb in stata
I don't understand your code at all. If you want to fit a polynomial, use polyfit(). For something more complicated, try fitnl...

4 dagen ago | 0

Answered
Error in matlab codes
Try getting rid of the brackets, which concatenate all the values from all the structures into a single array of 20 values, whic...

4 dagen ago | 0

Answered
How to evaluate a math function?
Try this: % Specify the start of the interval. x1 = 1; % The end of the interval is 0.01 after the start of the interval. x2...

4 dagen ago | 0

| accepted

Answered
How to convert RGB to hsv?
Why not simply use the built-in rgb2hsv() function: % load R and G and B data clear close all clc load('RGB.mat') subplo...

4 dagen ago | 0

Answered
How to use blockproc by location?
Yes, you can even do that without blockproc(). Here's how yourImage = uint8(255 * ones(yourImage)); that will turn every pixe...

4 dagen ago | 0

| accepted

Answered
Divide a data set into 4 parts so that the sum of each part 1/4th of the total
I'd just sort them and then take the CDF and look for percentages: c = cumsum(sort(data, 'ascend')); c = c / c(end); % Normali...

4 dagen ago | 1

| accepted

Answered
How to separate background from foreground on image using segmentation??
My Image Processing Tutorial will walk you through the process.

4 dagen ago | 0

Answered
imadjust returns error only supported for 2d-grayscal images
imadjust() finds the tails of the histogram - the 1% points at each end of the histogram. Then it linearly maps those points to...

4 dagen ago | 1

Answered
How do you section data that has peaks and troughs
This seems to work: clc; % Clear the command window. close all; % Close all figures (except those of imtool.) clear; % E...

4 dagen ago | 0

| accepted

Answered
How do you section data that has peaks and troughs
Try a search on silence detection. For example you'll find this link: my answer for one post The thresholding I used there won...

4 dagen ago | 0

Answered
can anyone tell me how to remove unvoiced or silenced region from audio file?
See my program where I find where the envelope of the standard guitar demo file that ships with MATLAB is below 0.13 and I cut o...

4 dagen ago | 7

| accepted

Answered
how can i . Compare reconstructed original Image of Fourier Transform
Try this: imdata = imread('C:\Users\Th3_Bl4cK\Desktop\r.jpg'); figure(1); imshow(imdata); originalRGBImage = imdata; % Save...

5 dagen ago | 0

Answered
display two figures in one
Just put a static text label on the figure and write to that.

5 dagen ago | 0

Answered
using fft2 and ifft for image processing
As you should know, fft2() is not used to view processed images -- imshow() is. fft2() just converts the spatial domain image t...

5 dagen ago | 0

Answered
PixelID/Pixel Value of Specific Point in Image?
You could use meshgrid() to get the x,y locations, and then use abinary image to mask out the ROI you want. Attach your image a...

5 dagen ago | 0

Answered
How to divide the total video into different Region of Interest ?
Just read in a frame of the video and mask it or crop it out (with imcrop), then just work on the remaining pixels.

5 dagen ago | 0

| accepted

Answered
The work has done on MATLAB. Can I get the same code for python
I suggest you hire someone to convert MATLAB to Python for you if you can't understand the MATLAB code. The Mathworks consultin...

5 dagen ago | 0

Answered
How to fill holes in binary image
To fill holes in a binary image: bw = imfill(bw, 'holes');

5 dagen ago | 0

Answered
How to calculate the distance, in pixels, between each centroid in a binary image.
Try xy = vertcat(a1RP.Centroid) distances = pdist2(xy, xy) Be aware that centroids are x,y, which is (column, row), not (row,...

5 dagen ago | 1

| accepted

Answered
add numbers to an array correspondingly
If you have a fairly recent version of MATLAB, that does automatic expansion, you can simply do output = B + A

5 dagen ago | 0

Load more