Community Profile

# Image Analyst

##### Last seen: Today
30,058 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 バッジ

What does this code do
It sets the variable doorsorted to one of 4 other variables depending on the value of the h'th element of numberOfDoors. It rep...

How do I change the appearance of a tick label over a number of iterative values through a pre-exisitng tick label?
See attached demo that shows you how to control appearance of lots of things on an axes control. % Demo to make a black graph w...

Why do we transfer the image into double?
No, it's usually not. But sometimes it is, like if you want to use conv2(). It has to do with how MATLAB likes to multiply var...

| 採用済み

Plot roots of non-linear equation
Did you try the plot() function? x = linspace(-30, 40, 1000); fx = (x .^ 2 ./ (x+1)) .^ 0.3333333; plot(x, fx, 'b-', 'LineWid...

How do I seperate datapoints in a plot?
Have you tried masking? indexes = S(:, 2) > y; S_AboveLine = S(indexes, :); Attach your S data in a .mat file if you need mor...

Confusion matrix over all images from a folder/directory.
See code snippets in the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F

How to apply imagesc on the plot with two lines?
Not sure what you're asking. imagesc() applied to images, not plots. If you want to grab a snapshot of your axes with getframe...

cant write image exactly shown by imshow
To write the image exactly as it is shown, you can use getframe() and then imwrite(). Keep in mind that this is like a screensh...

Index exceeds matrix dimensions.
Put this as the first lines inside your for loop if n+1+2*WL > length(data) fprintf('Skipping n = %d because %d (which is ...

1日 前 | 0

How to ask the user of my project to name and save there work?
Try save() and load(): % Get the name of the file that the user wants to save. % Note, if you're saving an image you can use i...

1日 前 | 0

split an image into six equal parts
You can use blockproc(). See attached demos.

1日 前 | 0

I got subscript indices must be real positive integers or logicals on my code
This is a FAQ (possibly the most F or the error message questions), so see the FAQ: https://matlab.fandom.com/wiki/FAQ#.22Subsc...

1日 前 | 0

how to write a detection algorithm for the peaks of a signal
Try findpeaks() if you have the Signal Processing Toolbox: [peakValues, indexesOfPeaks] = findpeaks(gsrSignal); plot(gsrSignal...

1日 前 | 0

can you wirte a code in matlab which is using instead of nlfilter
Just have a for loop over all the images. I think it should go something like this: for k = 1 : numberOfImages thisImage ...

1日 前 | 0

Since my variable changes size on every loop iteration, how do I preallocate memory?
You can do this: %% Calculate dff fd = prctile(Activity_smooth,10); %baseline, f0 % Calculating Activity(k)-fd/fd for photo...

1日 前 | 0

| 採用済み

Undefined variable when running appdesigner code
Variables only can be seen within a certain scope. You pasted that code snippet into some function, but line 11 (where you say ...

1日 前 | 1

| 採用済み

Cstern is just used locally and is in scope only in that function. Once that function ends, no other function can see it. If y...

1日 前 | 0

Whats wrong with this 45 degree line on the plot?
After you plot, call axis equal as long as both axes have the same units, like both are mm, and NOT like x is the array index ...

1日 前 | 0

How to "size-normalize" objects in a binary image? (e.g. make sizes of all non-zero objects to be the same)
Not if x and y can be anything (floating point) since you will have quantization error. If you want to specify that the cente...

2日 前 | 0

How to draw a 2D histogram from a time series?
Your image doesn't really make sense. You can't have both the y axis and the color both indicate the frequency (counts of each ...

2日 前 | 0

Increasing number of columns in UITable runs slow on command.
What is the value of num? And why do you have an end after the first case block? That end closes off the switch statement. ...

2日 前 | 0

How to perform a non linear curve fitting with the parameter to optimize being an integer
My guess would be to just optimize the parameter as a floating point value first. Then take the integers on either side of that...

2日 前 | 0

Image processing of soot flame
It depends on your exact definition of "find". Exactly what do you mean by that? If you just want to mouse around on the image...

2日 前 | 0

| 採用済み

How do I move the position of axis?
Click the little spin circle icon above the plot and spin it around:

2日 前 | 0

How do I seperate datapoints in a plot?

2日 前 | 0

how can I convert many images from m x n x 3 to m x n by rgb2gray?
See the FAQ https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F In the loop, use sprintf() to build up...

2日 前 | 0

Find algorithms here: http://www.visionbib.com/bibliography/contentsmedical.html#Medical%20Applications,%20CAT,%20MRI,%20Ultraso...

2日 前 | 0

| 採用済み

Input more than one image
See the FAQ

2日 前 | 0

luminance distribution in image
imhist(grayImage); If it's an RGB image cast to gray scale grayImage = rgb2gray(rgbImage); imhist(grayImage);

2日 前 | 0

Inpainting image, it just wont work, i have followed the equation provided
Why not simply use regionfill() the built-in function for doing it?

2日 前 | 0