Community Profile

photo

Image Analyst


28 929 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 to get a color image with labeling from a binary image?
Here is a snippet from my Image Segmentation Tutorial: % Identify individual blobs by seeing which pixels are connected to each...

ungefär 7 timmar ago | 0

Answered
How to do forward, backward and central difference
Once you have y, or z, why not just compute differences numerically using conv()? n = 11; % Whatever kernel = zeros(1, 2*n+1);...

ungefär 16 timmar ago | 0

Answered
Wondering if you have any merchandise for sale cause I'd love to look like a part of the MATLAB team 😀
Not at this time. Not yet. You can often get MATLAB swag by attending training or seeing them at a symposium.

ungefär 21 timmar ago | 1

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

en dag ago | 0

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

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

en dag 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) ...

en dag ago | 0

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

en dag 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-'...

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

en dag ago | 1

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

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

3 dagar ago | 0

Answered
rename the image name
See this recent answer

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

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

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

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

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

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

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

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

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

6 dagar ago | 0

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

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

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

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

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

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

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

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

8 dagar ago | 1

Load more