# Image Analyst

Senior Scientist (male/man) 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. Member of the Mathworks Community Advisory Board. 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

**Programming Languages:**

MATLAB, Visual Basic

**Spoken Languages:**

English

**Statistics**

**MATLAB Answers**

**0** Questions

**34,567** Answers

**File Exchange**

**16** Files

**Cody**

**0** Problems

**1** Solution

**Highlights**

RANK**2**

of 250,053

REPUTATION**68,352**

CONTRIBUTIONS

**0** Questions

**34,567** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**10,476**

RANK**29** of 17,373

REPUTATION**21,730**

AVERAGE RATING**4.70**

CONTRIBUTIONS**16** Files

DOWNLOADS **772**

ALL TIME DOWNLOADS**200677**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**8** Highlights

AVERAGE NO. OF LIKES**2**

**Content Feed**

i am new to matlab and i want to learn, can anyone help me with this please!!!!

See my attached demo for polyfit. It will be easy for you to adapt it. coefficients = polyfit(x, y, 2); yFit = polyval(coeffi...

4 hours ago | 0

work(x, xvector, fdata) Unrecognized function or variable 'x'.

Evidently this is everyone's homework problem. Go here for a similar question: https://www.mathworks.com/matlabcentral/answers...

4 hours ago | 0

reset "listbox"

I believe both of the other answers are wrong. They will totally delete/remove the listbox, which I don't think is what was wan...

6 hours ago | 0

the code gives error. can you help me to correct it?. I really do need help!!

Instead of using (because fprintf() does not like it): syms xvalue create xvalue numerically from the other inputs, or from us...

6 hours ago | 0

Hide RGB image in gray scale image using LSB Replacement

I'm attaching an example of hiding a gray scale image in a gray scale image. It should be no problem for you to adapt it to use...

6 hours ago | 0

How can I store the values for a b mid fa fb fmid at every iteration?

Not sure what you want to do but you definitely need to add indexes to the array so perhaps it's this: numberOfIterations = 6; ...

1 day ago | 0

| accepted

how to do a weather forecast coding ?

vq = interp1(x,v,xq,method,extrapolation) specifies a strategy for evaluating points that lie outside the domain of x. Set extra...

1 day ago | 0

Can you help me please?

That's not really an exponential model -- it's a polynomial model. Anyway, attached are some demos that may help you with your ...

1 day ago | 0

Need help identifying shape on image

Did you try edge() on the green channel? [r, g, b] = imsplit(rgbImage); edgeImage = edge(g); imshow(edgeImage);

1 day ago | 0

Loop for editing editing values in .dat file

Here's a start: % Open the file for reading in text mode. inputFileID = fopen(fullInputFileName, 'rt'); % Open the file for w...

1 day ago | 0

What is the unit of sigma in the function imgaussfilt?

The units for sigma should be specified in pixels, which is basically elements of your input matrix. Not sure what you mean by ...

1 day ago | 0

Correct Magic Square to text file?

Try this: % Create matrix. A = magic(5) % Write it out to a text file. filename = fullfile(pwd, 'A Magic 5.txt') writematri...

1 day ago | 0

How can I add three columns and three rows to a defined matrix?

Try newMatrix = imresize(oldMatrix, [1770, 1770]);

1 day ago | 0

How can i increase significant digits beyond 5 in basic fittings option in Matlab?

I'm not sure your equation reflects what was plotted. But anyway to get more decimal places in the text you can just use %.8f, ...

1 day ago | 0

Average of two dataset

Try it this way: % Test data: x1 = linspace(0, 0.5, 10) y1 = 2.0.*x1.^2 x2 = linspace(0, 0.6, 10) y2 = 3.5*x1.^2 % Creat...

1 day ago | 0

Not enough input arguments

Wow - bad, fragile code. Not robust at all. For example it does not check filename to see if it's empty. And does check with ...

2 days ago | 0

plotting x y cartesian coordinates

Those are matrices, not vectors. To turn into a vector and plot, you can use (:) and sort(): x = [0.00134476655097517 0.001344...

2 days ago | 0

I need to read an array to see if it has repeated elements (using for loop)

Why use a for loop??? No need to go to that complication (unless there is something you've not told us.) Why not simply use uni...

2 days ago | 0

Saving for loop value after each iteration

Since resistance is already an array, simply delete the line where you overwrite the array with the i'th value of it: resistanc...

2 days ago | 0

How to sum values in a matrix which are in the specified distance from one value?

What I'd do is to create a mask of circles of radius 50 around the cities. Then use that in a call to regionprops() asking for ...

2 days ago | 0

| accepted

Generate new samples from available data

How about just getting a random number from each of your input ranges. Like: a = [100 200 300]; b = [11 12 13]; c = [600 90...

2 days ago | 0

How to concatenate selected data of two .mat files

If t1 and t2 are your tables, how about just tacking on the right column? t3 = [t1, t2(:, end)] t1 and t2 both need to have th...

2 days ago | 0

Creating a cell array pattern where output is a binary matrix

Here's a start v = 0 : 15 c = dec2bin(v) How do I get help on homework questions on MATLAB Answers? - MATLAB Answers - MATLAB...

3 days ago | 0

Binary to RGB image with specific colour in specific area

Well, I could do it, but not within the few minutes I typically donate to people. There are basically 2 ways: the traditional s...

3 days ago | 0

How do you use 'Color Preprocessing'?

Some networks, such as Alexnet, are already set up to process color images. There is nothing you need to do other than resize y...

3 days ago | 0

How to read all types images from the folder regardless of file extension ?

For multiple file extensions in a single folder, try this: fileList = [... dir('*.jpg'); dir('*.jpeg'); dir('*.p...

3 days ago | 0

Mean filter with kernel size

Here's some help: How do I get help on homework questions on MATLAB Answers? - MATLAB Answers - MATLAB Central Here's an examp...

3 days ago | 0

Calculate average between min and max numbers in column 3 depending on values in column 2, for each value in column 1

Just take it one step at a time. Try this. % Let's say you have a 2000 x 3 matrix, where all the elements are integers. % In...

3 days ago | 1

How to extract the information from a specific line which draws on an image in matlab?

If xBlack and yBlack are the vectors that you plotted for the black curve, you can get the values underneath the lines by doing ...

3 days ago | 0

| accepted

Calling function from different m-file

Do you want inputImage to be gray scale, like [row, col, numberOfColorChannels] = size(inputImage) if numberOfColorChannels ==...

4 days ago | 0