Community Profile

photo

Image Analyst


Last seen: Today 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

Statistics

All
  • Personal Best Downloads Level 5
  • 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 badges

Content Feed

View by

Answered
Save Extracted Features (For Loop)
You need to index the variables that you want to save a value for on every iteration. For example: Entropy(i) = entropy(DWT_fe...

alrededor de 5 horas ago | 0

Answered
Filtering down a readtable based on specific value in a column
"take a table that is currently 248 x 10 and filter it down to a table that is 61 x 10" OK then did you want to filter based on...

alrededor de 6 horas ago | 0

| accepted

Answered
How to find sub-block entropy and Bit-Plane entropy of a gray scale image??
I didn't go over your message in detail but my viewbitplanes demo should help. Plus there is an entropfilit() function but tho...

alrededor de 6 horas ago | 0

Answered
MATLAB producing ans but wont upload variable, extremely strange behavior
Did you forget to enclose the vectors in brackets to form a matrix. See this: test1 = rand(1,2); test2 = rand(1,2); test = t...

alrededor de 6 horas ago | 0

Answered
Filtering down a readtable based on specific value in a column
Did you mean this? RawBonusStars = table(T.Game_, T.Name,T.Placement,T.MinigameCoins, T.Coins,T.HappeningSpaces,T.Orbs,T.Shoppi...

alrededor de 6 horas ago | 0

Answered
Obtain 2x2 regions in an image using sliding window
Not sure you've got this solved or not after your last comment, but here is how I'd answer your original question: rgbImage = i...

alrededor de 9 horas ago | 0

Answered
How to open multiple .dat files in Matlab and save them in the given name as .xlsx file per sheet
For some reason, I'm having trouble unzipping your data. Window10 won't allow it. In the meantime, try this: % Specify the fo...

alrededor de 9 horas ago | 0

Answered
import over 1000 files
Try code in the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F It will work for more than 100...

alrededor de 10 horas ago | 0

Answered
How to count the numbers before consecutive negative values?
Try this: mask = bwareafilt(c < 0, 1); props = regionprops(mask, 'Area', 'PixelIdxList') longestRun = props.Area % Will be 5 ...

alrededor de 21 horas ago | 0

| accepted

Answered
cell array indexing oddity
I know you said you tried using cell2mat(), but you must have not used it correctly. Try using cell2mat() like this: test = nu...

2 días ago | 0

Answered
How to calculate the number of consecutive negative values in an array before a positive appears?
Here's another way: c =[-0.4607 -0.4659 -0.5165 -0.5168 -0.5164 -0.4626 -0.4668 -0.3730 -0.3426 0.3224 ... ...

2 días ago | 0

| accepted

Answered
What is missing from MATLAB #2 - the next decade edition
I'd like questdlg() to be able to take more than 3 buttons. Often I need 4 buttons, like "Yes", "No", "Cancel", and "All", li...

2 días ago | 0

Answered
How does imresize 'Antialiasing' work?
It probably blurs the image slightly.

3 días ago | 1

Answered
segment a image and then save all segments with new names
You need to use sprintf() at the right place to construct the filename you want. You are not doing that. Maybe if you indented...

3 días ago | 0

| accepted

Answered
Detecting black blob (mouse) in .tif frames
You can basically put it into a loop over video frames where you get a frame and then do (untested, but see attached demo): % C...

3 días ago | 0

| accepted

Answered
What is the most correct way of determining whether variable contains a number
You can use isempty() to determine if a variable has any variable of any class whatsoever in it: if isempty(yourVariable) ...

4 días ago | 0

Answered
Obtaining 3D matrix /image from voxel array with co-ordinates X,Y and Z with the intensity ?
I know it's kind of obvious, but did you try a nested for loop? x = squeeze(n(:, 1)); y = squeeze(n(:, 2)); z = squeeze(n(:, ...

4 días ago | 1

Answered
run regression, change the value of x and calculate how y changes, and then plot both
Use a for loop to alter T.X1 for numRuns = 1 : 10 % However many you want x = [T.X1, T.X2]; mdl =fitlm(x, T.y) %...

4 días ago | 0

| accepted

Answered
correlation of nonlinear variables
If you want, you can try to fit some model through your data, like an exponential growth or decay if you suspect that is the rel...

4 días ago | 0

Answered
How to shade/color overlapped area in the graph?
The code in the FAQ will need to be modified slightly for your data: https://matlab.fandom.com/wiki/FAQ#How_do_I_shade_the_regi...

4 días ago | 0

Answered
How to create new ppt by using Matlab Script ?
See official Mathworks answer: https://www.mathworks.com/matlabcentral/answers/103175-how-can-i-create-slides-in-ms-powerpoint-...

4 días ago | 0

| accepted

Answered
diving all images in folder into n horizental and vertical strips
You can get the rows and columns like this [rows, columns, numberOfColorChannels] = size(yourImage); r = ceil(rows/4); c = ce...

5 días ago | 0

| accepted

Answered
sinusoidal signal with an amplitude of 3V and a 50 Hz frequency. time from 0 to 0.05 s along the time axis.. can someone help me to do this?
Try this (assuming it's not your homework): clc; % Clear the command window. close all; % Close all figures (except those ...

6 días ago | 1

| accepted

Answered
How to identify duplicate elements index values in this array without deleting them
Try this: A = [53 54 80 1 21 43 12 0 27 71 14 0 52 55 70 23 36 69 26 0 46 66 38 0 68 78 60 0 59 3 48 0 74 7 42 0 42 17...

6 días ago | 0

| accepted

Answered
extracting x,y data from certain time points in matrix?
Instead of x = find(srtm(:, 1)> 5 & srtm(:,1) < 20) to do masking from 5 to 10 inclusive, you need to change x to indexes, 20...

6 días ago | 0

| accepted

Answered
How can i fill a pre-allocated matrix 2D?
I'd use xcorr2().

6 días ago | 0

Answered
Entropy of an image
@ammu v, to compute the entropy of just a region of interest in an image you first have to define a binary image (mask) that is ...

6 días ago | 0

Answered
I'm writing a code for identifying the faults in image , Request you to suggest the best way to identifying the faults. Attached an image for reference. Thanks
I'd create a template of a "good" region. Then use normxcorr2() to do normalized cross correlation on it. Examine the output i...

6 días ago | 0

Answered
How to setup the step size for sliding window
You need to use blockproc(). It can do a sliding window that moves in "jumps" of 3 pixels. Please adapt the attached demo.

6 días ago | 0

Answered
Sliding Window through images
You need to use blockproc() with a slight overlap. I'm attaching my demo. Adapt it as needed.

6 días ago | 0

Load more