Community Profile

photo

Image Analyst


29.018 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

  • 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
Repetitive anotation in plot
Try making x and y into strings. Or else just use sprintf() to build the whole string str = sprintf('Posicion en X = %.3f, Pos...

circa 6 ore ago | 0

Answered
concat images in order
Try this: inputFolder = '/home/user/PycharmProjects/2.5dataconversion/images/patient_1'; outputFolder = '/home/user/PycharmPro...

circa 6 ore ago | 0

Answered
Motion of an object
For what it's worth, I have a demo on a projectile that computes just about anything you could want to measure. Adapt as necess...

circa 6 ore ago | 0

Answered
Is standard version of Matlab include Matlab Compiler?
It's not included in any standard version/edition. It's a very expensive extra cost.

circa 6 ore ago | 0

Answered
Stop a sum of numbers until a certain value is reached
You can use cumsum() to do it vectorized, like most MATLABers would: Nmax = 15; A = [2 5 4 6 1]; ca = cumsum(A) % Sum them a...

circa 11 ore ago | 0

| accepted

Answered
How to define variables automatically
What does "define a variable automatically" mean to you? Do you mean take the user's input and your script assigns that value...

circa 11 ore ago | 0

Answered
Naming Variables in Matlab
That is a horrible idea. See the FAQ to find out why.

1 giorno ago | 0

Answered
Change file names before saving
Try this: %% message = sprintf('Would you like to crop out and save each individual images?'); reply = questdlg(message, 'Ext...

1 giorno ago | 0

Answered
Counting occurences of each number in a column when it's equal to all numbers in the same line?
Try this: P=[1 2 3 2 2 2 3 3 3 4 4 1 4 4 4 2 2 2 1 4 2]; allTheSame = P(:, 1) == P(:, 2) & P(:, 1) == P(:, 3) % Rows whe...

1 giorno ago | 0

Answered
Hazy image equation implementation.
Chances are that your image is floating point and you forgot to put [] in imshow. imshow(yourImage, []);

1 giorno ago | 0

Answered
making video with Network
VideoWriter() has a 'FrameRate' option that you can specify to control how fast it playback.

1 giorno ago | 0

| accepted

Answered
Connecting dots with straight line in a loop.
It seems that no one is exactly sure what you want to do, since the super obvious plot(x,y,'b-') doesn't seem to be it. So I'll...

1 giorno ago | 0

Answered
how i can convert struct to matrix
You'd do this: st = load('mat_str.mat') f1 = vertcat(st.s.f1) f2 = cat(3, st.s.f2)

1 giorno ago | 0

Answered
Extract values from image
You can simply use improfile() [cx,cy,c] = improfile(I,xi,yi,n) xi are the line endpoints x values. yi are the endpoints y va...

2 giorni ago | 1

Answered
Plotting a quarter wave
Hint: x1 = linspace(-2, 0, 200); x2 = linspace(0, 1, 100); y1 = 4 * ones(1, 200) You should be able to figure out how to com...

2 giorni ago | 0

Answered
resize image on read
ReductionLevel is only an option for JPG images, not PNG images. 6000x8000 is not really that huge. How long does it ake to re...

2 giorni ago | 0

Answered
I want to do the same action to every files(.png) in one folder, but I face some problem.
Try the padarray() function. Or if you want to do it by indexing: baseFileName = files(i).name ; b=imread(baseFileNam...

3 giorni ago | 0

| accepted

Answered
Using Subplot in matlab
Try this: x = linspace(1, 10, 500); y = sin(x) ./ x; subplot(2, 2, 1); plot(x, y, 'b-', 'LineWidth', 2); grid on; subplot(...

3 giorni ago | 0

| accepted

Answered
I have problem writing a matlab function
Make sure x1 and x2 are column vectors (Nx1), NOT row vectors (1xN).

3 giorni ago | 0

Answered
how can I limit the search for kNN (fitcknn) if I have multiple classes in training but just want to compare the distance to few classes
Only pass in the columns you want, like pTrain = movs(:, [1,4]); % Extract only bending and walking columns. testData = movs(:...

3 giorni ago | 0

Answered
how to eliminate undesidered lines
It looks like the last point is the same as the first. You could just plot all except the last point: plot(x(end-1), y(end-1),...

3 giorni ago | 0

Answered
read text file and put its values in a vector
Try importdata(), csvread(), or readtable().

3 giorni ago | 0

Answered
Interpolation of a set of x , y data to a curve
Start by running my spline demo. Adapt as needed.

3 giorni ago | 0

| accepted

Answered
if condition problem and positive condition
You separated the else and the if. It should be elseif (one word) but actually you don't even need it. Try this: if n1 <= ee1...

3 giorni ago | 0

| accepted

Answered
Find the orientation of each arbitrary object in an image
You can use regionprops to get shape info. One nice one is the circularity. If you want stick-like objects, you do props = re...

4 giorni ago | 0

Answered
which tool boxes is required for image processing and simulation
The Image Processing Toolbox. Many simulations can be done without any toolboxes at all - just depends on what you want to simu...

4 giorni ago | 0

| accepted

Answered
How can I perform image analysis only within object's boundary?
superpixels() gives you a labeled image. You can get a mask for a particular boundary by passing the labeled image into ismembe...

4 giorni ago | 0

Answered
disp gives wrong format
Try fprintf() instead of disp(): fprintf('%6.2f, %9.6f\n', [t; s]); With fprintf() you can get exactly the appearance you w...

4 giorni ago | 0

Answered
Create image from an Image
Sum the image horizontally. Untested code: verticalProfile = sum(rgbImage(:,:,3), 2); % Collapse across columns. % Then find ...

6 giorni ago | 1

| accepted

Answered
Measure vertical distance using loop function
You cannot find that distance(s) because the location of the "kink" between surface 1 and 2 is not specified. If it were moved ...

6 giorni ago | 0

Load more