Community Profile

Image Analyst

Last seen: 2 days ago Active since 2010

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

All

Content Feed

View by

Why I am getting "Subscript indices must either be real positive integers or logicals." error, while using PSO algorithm in MATLAB. How to fix this?
x1 is probably either 0, negative, or a fractional (non-integer) number. It's thoroughly discussed in the FAQ: https://matlab....

2 days ago | 0

What is the function of the following program. A=magic(10); sizeA= size(A,1); for i=1: sizeA j=i; A(i,j)=0; A(i, sizeA-j+1)=0;
Just watch what happens to A as you step through the code. Debugging in MATLAB | Doug's MATLAB Video Tutorials

2 days ago | 1

Index in position 2 exceeds array bound (must not exceed 6)
You say data=[0.000299 10.1 671 150 455 0.000183 10.2 574 150 455 0.001126 8.8 374 20 130 ...

2 days ago | 0

Contrast enhancement techniques in HSV or LAB
I think doing it in any of those color spaces will produce an approximately similar results. Note that increasing contrast is a...

2 days ago | 0

Select folders case-insensitive
I don't believe the case of the folder name should matter as far as doing things like getting files living it it, calling mkdir(...

2 days ago | 0

| accepted

Executing a fprintf statement with a function
Get rid of a=, or else assign a inside of the function. Right now you are trying to accept something into a in your calling rou...

2 days ago | 0

i want an animation of a point to follow my curve ??? i have tried but not getting it?
Try removing the % symbol in front of the pause() and delete() lines.

2 days ago | 0

Invalid expression. Check for missing or extra characters.
This line figure: % No - don't use colon should be figure; % Use semicolon instead.

2 days ago | 0

How to combine 4 different vectors with time durations into one smooth time vector?
Do you have the x (t) values, or just the y signal values as a function of index? Do you mean this: ta= [0.05 0.09 0.18 0.45];...

2 days ago | 0

I'm using textscan to read in a csv file, but when I check the variable its incorrect
Try this: t = readtable('NaiveBankData.csv') [rows, columns] = size(t); % Convert Balance column to double balances = zeros(...

2 days ago | 0

I want to input an array of odd/even mixed numbers like [ 1 2 3] and i want the output to be like [ odd even odd] . Added my code, its showing error, Can you tell me where i
You can use a string array instead of a double array like you get from zeros(): A=[1 2 3 4;5 6 7 8;9 10 11 12]; [rows, columns...

3 days ago | 1

Print the first seven values from the sorted vector with value and index to the new vector.
Does this do what you want? wekotr_1 = randi(99) wekotr_2 = randi(99) wekotr_3 = randi(99) wekotr_4 = randi(99) wekotr_5 =...

3 days ago | 0

I ma trying to create a plot with matrix having 56 rows and 166 columns which correspond to 56 signals and 166 values. How to plot time series graph
Try this, assuming your matrix is called "allSignals": [rows, columns] = size(allSignals); for row = 1 : rows thisSignal ...

3 days ago | 0

I'm using textscan to read in a csv file, but when I check the variable its incorrect

3 days ago | 0

Convertion to double from struct is not possible
How about getting rid of the double for loop and just do it vectorized [rows, columns] = size(app.input_signal_array) % Copy t...

3 days ago | 0

image analysis to find pH strip and determine pH
I agree with @DGM, you'd need to have your chart and strip both taken under the same conditions. And using an instrument built ...

3 days ago | 0

image restoration matlab code
The origin was not at the right place. Try this: clc; % Clear the command window. fprintf('Beginning to run %s.m ...\n', m...

3 days ago | 1

| accepted

image restoration matlab code
Why are you doing exp(-1i*pi*(u*a + v*b)); ??? Just use fft2().

3 days ago | 0

How to separate a vector into two different vectors?
Try this: age_vec =[ 21 18 57 52 20 22 23 21.50 38 31 30 29 58 53 21.75 86 55] % Find indexes that are more than 37.5 moreInd...

3 days ago | 1

How do I randomize unrepeated four integers from 4 to 11
Use randperm(): randomizer = 3 + randperm(11-4+1,4)

3 days ago | 0

Compile the code for smartphone
Looks like youi need the MATLAB Coder Toolbox and the Oompiler Toolbox. Here's a video, that's pretty nonspecific, that says yo...

3 days ago | 1

image analysis to find pH strip and determine pH
Not sure I understand. You say "I have the color part completed" so I assume that means you have located the colored strip in t...

3 days ago | 0

Create a triangular matrix
You're subtracting the ith and jth column, which gives a whole column (3 values). Then you're trying to stuff those 3 values in...

3 days ago | 0

How to make a data set periodic?
You ask how can "I get a closed object when I plot it? " Have you tried tacking on the first point to the end? x = [x, x(1)]; ...

3 days ago | 0

Fit scatter plot with a curve
Not sure if the scattered data is legitimate or noise. The bottom of the data looks like a nice polynomial. So if you want to ...

3 days ago | 1

Converting RGB Image to Grayscale Intensity on arbitrary Colormap
People ask this all the time. So much so that I have a canned demo for it. See attached. Adapt as needed, like to specify w...

3 days ago | 0

| accepted

Display L*A*B space channels separately
Try this: rgbImage = imread('peppers.png'); imshow(rgbImage); labImage = rgb2lab(rgbImage); [lImage, aImage, bImage] = imspl...

4 days ago | 0

Black jack function for hiding dealers card
Wouldn't that be sprintf() or fprintf()?

4 days ago | 0

how to increase accuracy image processing for extract decimals
Your decimal point is not well resolved. The ocr() documentation says you should have 20 lines of image data to get a good pred...

4 days ago | 0

| accepted