Community Profile

photo

Image Analyst


28,916 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

  • 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
Why I cannot get results when I detect multiple labels
You ARE getting results. trainindData is not your results - that is the image datastore used to train your detector. Your resu...

3 hours ago | 0

Answered
Index in position 1 exceeds array bounds (must not exceed 4)
DH is a 4-by-4 matrix (cell array) but you're only using one index when you assign it: DH{i} = ............ Why are you not us...

3 hours ago | 0

Answered
How do I count the number of pixels from top white to bottom white pixel?
Try this: [rows, columns] = size(binaryImage); heights = zeros(1, columns); for col = 1 : columns thisColumn = binaryIma...

11 hours ago | 0

Answered
How can I change my fprint error
You can't use the Ice array itself for indexes since they're floating point and indexes need to be like 1, 2, 3, 4, 5 etc. (inte...

11 hours ago | 0

Answered
Why I cannot get results when I detect multiple labels
What function did you call to show the regions? Did you use insertObjectAnnotation()? After you read this link, post your scr...

13 hours ago | 0

Answered
How to visualise data value with x-y coordinate in an image
Try something like data = dlmread(filename, ' '); x = data(:, 1); y = data(:, 2); grayLevel = data(:, 3); grayImage = zero...

1 day ago | 0

Answered
Placing annotations at specific xy coordinates
No, not true. If you want to place annotation text onto a plot you can use text() using the x,y that's used for that plot, what...

2 days ago | 0

Answered
How can I count the largest number of repeated numbers in a double?
You can use regionprops(), if you have the Image Processing Toolbox signal = [0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 1 1 1 1 0 0 0...

2 days ago | 0

Answered
Return data from GUIDE on figure close
Below is a close request function I use in one project. Adapt as needed: % --- Executes when user attempts to close figMainWin...

2 days ago | 0

Answered
Write binary file in Matlab
Maybe try changing the ENDIAN?

3 days ago | 0

Answered
Overfitting and What is it ?
You can't overfit a linear regression. Overfitting is basically where you have your model go through, or mostly through, your d...

4 days ago | 0

Answered
how to divide matrices that print matrix
Try a = v2 ./ t % Use dot-slash ./ instead of / No disp(a) needed if you leave off the semicolon.

4 days ago | 0

| accepted

Answered
Why dice similarity is so low for those two images?
Because not many of the white pixels are in the same location in the two images. Maybe you can try imregister() first to align ...

4 days ago | 1

| accepted

Answered
Resizing a 3D image on one axis
Try imresize() bigImage = imresize(image3d, [200,200,200], 'bicubic'); % Or 'nearest' - whatever you want.

4 days ago | 0

Answered
Matrix dimensions must agree error
Try 2 for loops: Comp = 0.01 : 0.01 : 0.99; T = 400 : 200 : 1400; R = 8.314; ohm = 15000; for k1 = 1 : length(Comp) for k...

4 days ago | 0

Answered
Radial averaging of 2-d tif image
See my attached demo. Feel free to adapt, like to change the center or whatever. It gives the average radial profile within the ...

4 days ago | 1

| accepted

Answered
Radial averaging of 2-d tif image
OK, so maybe that demo was too hard for you to adapt. Here is an easier, more straightforward demo using two for loops. It's eas...

4 days ago | 1

Answered
Error in running 'guide'
Call the Mathworks directly for all installation related issues (which this is). They will talk you through it over the phone, ...

7 days ago | 0

Answered
How to separate a portion of filename from a file
Try strsplit(): parts = strsplit('scrubbed.MOD_D3_AOD_550.20020112.nc', '.') % Separate in between dots. yourNumber = parts{en...

8 days ago | 1

Answered
HOW TO KNOW THAT WETHER TWO SIGNLAS ARE SIMILAR OR NOT USING 'XCORR' FUNCTION ????
I don't know what a "peaky neature curve" is. If you want to know how well two signals correlate on an element-for-element basi...

8 days ago | 0

Answered
Sort of peak analysis
If you have the Image Processing Toolbox, you could use regionprops props = regionprops(signal < 0, 'PixelIdxList'); It will g...

9 days ago | 2

Answered
Edge detection and filling
I'd try adaphisteq() to flatten the shading across the image. Then use a global threshold, then call imfill().

10 days ago | 0

Answered
How do I write images into folders specified in string array?
Try something like for k = 1 : size(namesandlabels, 1) outputFolder = namesandlabels(k, 2); thisBaseFileName = namesa...

12 days ago | 0

Answered
Determine image color type
You might be able to. If it's just a bunch of numbers for the pixel values then you don't necessarily know unless the image hea...

13 days ago | 0

Answered
Creating masks for objects in an image
Try the Color Thresholding App in HSV color space. Get everything with blue as one mask. Then make another mask with stuff wit...

13 days ago | 0

Answered
How to save the image WITHOUT the white background using imwrite (advanced problem)
Try this: % To burn the color into the image itself. [rows, columns, numberOfCOlorChannels] = size(RGB) RGB(:, 1, 1:3) = repm...

13 days ago | 1

| accepted

Answered
i need a matlab code for arnold cat map scrambling
See attached demo.

14 days ago | 0

Answered
Finding a Signal from an noisy signal
Simply use masking: mask = redSignal > 0.1; % Logical index (mask) of where the red signal is higher than 0.1. % Now replace t...

14 days ago | 0

| accepted

Answered
How do merge 2 Wav file into 1 wav file?
Just stitch them together rebuilt_y = [frame1, frame2, frame3, frame4] audiowrite(............

14 days ago | 0

| accepted

Answered
While loop for a stopping criterion and check if it positive
I don't know why you don't want to use the abs() function but you can do it without it like this: while ((X > eps1 && Y > eps2)...

14 days ago | 0

Load more