Community Profile

photo

Image Analyst


29 296 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

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

Contributions in
View by

Answered
Plot 100 random points in 2-D equations
Try this: % Get a set of random x1 and x2 for g1. x1 = rand(100, 1); x2 = rand(100, 1); g1 = 1 ./ (6*pi) * exp( (((x1-4) .^2...

environ 3 heures ago | 0

Answered
how do i count unique cell rows?
There are more compact (read cryptic) ways, but this simple and easy-to-understand (for a beginner) way using a for loop and swi...

environ 3 heures ago | 0

Answered
error using bwferet function in matlab 2016a
It was not until Release 2019a that that function was introduced. For some reason, you didn't fill out the form completely when...

environ 5 heures ago | 0

Answered
How can I remove unwanted objects and segment the swan?
You can do with functions in the Computer Vision Toolbox. See this link. you mgiht also look at Hus moments: http://www.youtub...

environ 5 heures ago | 0

Answered
Rayleigh random variables for σ = 1. Plot the histogram for the 20000 symbols and compare it with the corresponding Rayleigh PDF
For what it's worth, I'm attaching my Rayleigh demo. Adapt as needed. I did it a long time ago. There is now a function now b...

environ 5 heures ago | 0

| accepted

Answered
How I can choose randomly value from cell?
Here's one way, if you need to get the value within a loop where you're doing other things: SI = {[1, 2], [2, 3]} for k = 1 : ...

environ 5 heures ago | 0

Answered
how to search for a red circle in an image?
Sorry, I can't do it without using any built-in functions, though the functions I use are pretty low level, like imread(), imsho...

environ 6 heures ago | 0

| accepted

Answered
How to Ignore the last line from a file read
Try this: % Read in data. d = importdata('data.txt') % Now plot each row of data for k = 1 : 4 plot(d(k, :), '.-', 'Line...

environ 9 heures ago | 0

Answered
How to create a FILLED circle within a matrix
See the FAQ on how to create a circle

environ 10 heures ago | 0

Answered
Darcy's law
You're setting up your boundary conditions incorrectly. You're overwriting the corners with different numbers. I think maybe y...

environ 10 heures ago | 0

Answered
How to access image name in imageDatastore?
Use fileparts(): imds = imageDatastore('*.png') fullFileNames = vertcat(imds.Files) for k = 1 : length(fullFileNames) [fold...

environ 11 heures ago | 0

| accepted

Answered
Warning creating vertical line using xline
It worked for me. As an alternative, you might try the older line() and then use text() to place the text annotation.

environ 20 heures ago | 0

Answered
Choose my k-term from matrix and defines by itself on for loop
It's not clear. Not sure what x1, a, and c are. It looks like the user enters some number of values for x1, then somehow, some...

environ 20 heures ago | 0

Answered
Index in position 1 is invalid. Array indices must be positive integers or logical values.
The first row is not 0 -- it's 1. Try plot(x, Tdata(1,:), 'b-', 'LineWidth', 2); This is one of the most frequently asked que...

environ 22 heures ago | 0

Answered
How to get cluster more than 2 if i have :
Just define Cluster3 to be something. What would you want it to be? It could be virtually anything you direct it to be.

environ 22 heures ago | 0

Answered
Short Question about Multiple cases in for end
One way is to do nested for loops for j=1:10 for k=0:9 for m=1:11 for n=1:1 x(j)^k + m -2*n end % of n loop ...

environ 24 heures ago | 1

| accepted

Answered
how can I create a function with multiple variables?
Try this: function y = yourFunctionName(x, z) % x,y,z can be taken from database and some values are mentioned below.) ...

1 jour ago | 0

Answered
Resistance Calculator For Circuits
Try App Designer: http://www.mathworks.com/products/matlab/app-designer/

1 jour ago | 0

Answered
Error Invalid or deleted object while creating a line
When you create a line object and get the handle of the line graphic into "customer" if you want to "NEED TO REMOVE ALL THE CUST...

1 jour ago | 0

Answered
Tracking object in video and plot path of object
Extract a frame, find the car and add it's (x,y) coordinate to a growing list of them, then call "hold on" and plot the entire l...

1 jour ago | 0

| accepted

Answered
Why am I getting "Array indices must be positive integers or logical values" when trying to add together all the integers?
This is a VERY frequently asked question. So see the FAQ. Your code runs fine though. I copied and pasted and got htis: C = ...

1 jour ago | 0

Answered
Cropping an image using imfreehand()
Try this: grayImage = imread('cameraman.tif'); imshow(grayImage); subplot(1, 2, 1); imshow(grayImage); fontSize = 20; titl...

1 jour ago | 0

Answered
find main area of image
Looks like you're doing an edge detection for some reason. Can I see the original image? Because usually edge detection is NOT...

1 jour ago | 1

Answered
Fit Powerlaw to Data
I'd use fitnlm() in the Statistics and Machine Learning Toolbox. I suggest that you don't try to fit the first point. When I t...

1 jour ago | 0

Answered
How can set colormap for below matirx?
I think this is what you want: clc; % Clear the command window. close all; % Close all figures (except those of imtool.) ...

1 jour ago | 1

| accepted

Answered
How would I implement the following without eval in?
You might go over the several methods found in the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_share_data_between_callback...

1 jour ago | 0

Answered
How do I fix an error when regionprops finds no blob?
Label it before [labeledImage, numberOfRegions] = bwlabel(binaryImage); props = regionprops(labeledImage, gambarAsliParkir1, '...

2 jours ago | 1

| accepted

Answered
index exceeds array bounds
See these snippets. It lets you ask user for interger or floating point number(s) with default values, and warning if the value...

2 jours ago | 0

Answered
how to generate two random binary images with remove overlapping ?
Still not sure what you want. Please give the two input binary images, and give the output you want. Do you just want to crop...

2 jours ago | 0

Answered
how to generate two random binary images with remove overlapping ?
You can just do this, if I understood correctly: % Make a binary image of the combination of the images, but without the overla...

2 jours ago | 0

Load more