Community Profile

photo

Image Analyst


28,379 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 make sure columns and rows are included in loops?
Try this: qb = (hh1 / 2) .* (ws2 + wb2)/0.025 Get rid of everything else you had.

9 hours ago | 0

Answered
loaded file is pathname
XMLFile is a character string that contains the filename. To get the contents of that XML file you need the xmlread() functio...

9 hours ago | 0

Answered
Extracting data from ROI an IR image and discarding other pixels
See my attached demo.

12 hours ago | 0

Answered
how to use for loop?
In the for loop, use an if. Here's a start. for ...... if x(.....) > 0 % If it's positive % x(...... =...

21 hours ago | 0

Answered
I am interested in generating a color bar from a colored image.
If you don't know the colormap, then you will need the indexed image, not the RGB one.

1 day ago | 0

Answered
I Need to align these two fiducial marks?i am new to image processing and i dont have any idea about how to do it.so can any one help me with the code
Threshold, use bwareafilt to extract largest blob (the L-shaped blob). Use regionprops() to compute centroid. Compute de...

1 day ago | 0

Answered
How to draw a perpendicular line using a point and slope
Try this: P1=[374 448] P2=[385 562] p1x = P1(1); p1y = P1(2); p2x = P2(1); p2y = P2(2); plot([p1x, p2x], [p1y, p2y], 'ro...

1 day ago | 0

Answered
why is 'c' == 'd' + 1 && 2 < 4 logical true but 'c' == 'd' - 1 && 2 < 4 logical false
Huh? Did you get that right? b1 = 'c' == 'd' + 1 && 2 < 4 b2 = 'c' == 'd' - 1 && 2 < 4 b1 = logical 0 b2 = logi...

1 day ago | 1

Answered
How to mix two images in loop with 10%step.
Try this: s = load('OBRAZKY/tvare.mat') A = s.A; B = s.B; % Define percentages that you want to blend. percentages = 0 : 0....

1 day ago | 0

Answered
Image processing structural Tensor Equation
Try this to get the individual color channels: % Extract the individual red, green, and blue color channels. redChannel = rgbI...

1 day ago | 0

Answered
how to automatically segment the ventricle of the brain ?
If simple thresholding and spatial cleanup (like bwareafilt) doesn't work, then try some of the more sophisticated algorithms in...

1 day ago | 0

Answered
fopen command using "r" or "w"
You don't need to. If you don't need to import data from a file and don't need to output data to a file, then you don't need to...

1 day ago | 0

Answered
How to get sub-circles from orignal circle
See this color wheel example. Adapt as needed.

1 day ago | 0

Answered
How do get a ball bounces off the wall?
Basically, just reflect it yMax = 40; if y > yMax distanceBeyond = y - yMax; y = yMax - distanceBeyond; end

2 days ago | 0

Answered
Select which legend entries to use depending on data set plotted
I'd keep track of what legends exist in a cell array, and just plot the whole thing after the array legendCount = 0; legendCol...

2 days ago | 0

Answered
Extracting max or min values from each row in a matrix, and storing them and their indices.
Try [N2, indexes] = min(data(:, startT:endT), 1); % Get min of every column between column "startT" and column "endT"

2 days ago | 0

Answered
Generating the plots on the same figure using image command.
Use subplot if you want separate plots in an array for k = 1 : 20 subplot(4, 5, k); imshow(.............. end

2 days ago | 0

Answered
Create an accurate boundary around 2D point cloud horizontal plane
I'm guessing that you generally like the red shape (rather than the black outline shape) but you want the ends of the red pieces...

2 days ago | 0

Answered
How can i scale the servo motor from the info that i take from image?
I'd talk to the servo manufacturers to see if they have any MATLAB code to talk to their servos, especially through an Arduino.

2 days ago | 0

Answered
How to use ffmpeg to grab images from video files in a folder sequentially in MATLAB and save them in another folder
See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F

2 days ago | 0

Answered
Object Detection of boulders
I'm not sure you'll get all of them, especially the ones that are on those triangles. First I'd preprocess the image by getting...

3 days ago | 0

Answered
Find next value above threshold
Try this. % First make sample data because Joe forgot to give us his actual data. period = 20000; x = linspace(22000, 42000...

3 days ago | 0

| accepted

Answered
Hi, can Anyone please help me to solve this error.
Probably not, unless you attach the m-file and .fig file. About all I can say now is to trust the error message which tells y...

3 days ago | 0

Answered
image pressing (gui )
Try this framework: MAGIC

3 days ago | 0

Answered
Smoothing the edges of my contour
If the sort-of circular mask thing is a binary image, you can smooth the boundary by blurring it with conv2() or imfilter() and ...

4 days ago | 0

Answered
Generate dampening sine waves of various frequencies
This works for the first two sounds, but you can't have 3, quad, or more sound channels so it won't work for the 3 through 15 lo...

4 days ago | 1

| accepted

Answered
image segmentation through color tones
You need to use a colorimetric color space like HSV. I used the Color Thresholder app on the Apps tab of the tool ribbon to det...

5 days ago | 0

| accepted

Answered
Detection of red color RGB
Use the Color Thresholder app (on the Apps tab of tool ribbon) to generate a function that will get a mask for the red blobs. T...

5 days ago | 0

Answered
Dehazing a digital image in Matlab
It looks like you've typed that all into the command window after the >> prompt: >> % Read image I=imread('C:\Users\I............

5 days ago | 0

Load more