Community Profile

photo

Image Analyst


28,926 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
How can I reconstruct an RBG image?
How about this, using the attached data in answers.mat: s = load('answers.mat') red = repmat(s.red, [1699, 1]); green = repma...

약 12시간 ago | 0

Answered
Convolution of two log normal distributions
For convolution, use conv() on your numerical vectors.

약 12시간 ago | 0

Answered
Image processing and sub-array summation
Try conv2(): bigMatrix = [ 1 1 2 1 1 1 2 2; 1 0 1 1 2 1 2 1; 0 0 1 2 2 1 0 0; 0...

약 12시간 ago | 1

| accepted

Answered
Output of -RGBimage seems to have changed, any help?
Maybe try the attached MaximizeFigureWindow function first, and then call either saveas(), imwrite(), or (on the File Exchange) ...

약 13시간 ago | 0

Answered
Shifting pixels in an image without loops
Try imtranslate().

약 13시간 ago | 0

Answered
How can I plot this function f(x) = (sinx)/(x^2 4x 3) using suitable interval
Sounds like homework, so here is a hint: Try linspace() to compute x, then y = sin(x) ./ (x.^2 + 4 * x + 3) ; plot(x, y, 'b-'...

약 13시간 ago | 1

| accepted

Answered
Finish lines in the image
You might look to the "edge linking" link to the right for alternative methods. The method I like, which may be faster than dil...

약 13시간 ago | 0

Answered
Subscript indices must either be real positive integers or logicals.
The FAQ explains it pretty well: Click here for the FAQ on that error

1일 ago | 0

Answered
Using a script to change uicontrol values in a gui
Just build all that code into the m-file that GUIDE made for you. Why control your GUI from a separate, external script? If yo...

1일 ago | 0

Answered
rename the image name
See this recent answer

2일 ago | 0

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...

2일 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...

2일 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...

3일 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...

3일 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...

3일 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...

4일 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...

5일 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...

5일 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...

5일 ago | 0

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

5일 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...

6일 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.

6일 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 ...

6일 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.

7일 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...

7일 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 ...

7일 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...

7일 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, ...

9일 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...

10일 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...

11일 ago | 0

Load more