Azzera filtri
Azzera filtri

How can I compute the beam diameter of an image?

6 visualizzazioni (ultimi 30 giorni)
I have a set of ccd images of a laser beam and I want to be able to compute the beam diameter (in mm) from each image. Currently, I'm thinking of something along these lines:
pixelsizemm = 4.65*10^(-3);
image = imread(FileName,'bmp');
imsizepix = size(image);
imsizemm = pixelsizemm*[size(image,1),size(image,2)];
BI = image>75;
newBI = bwconvhull(BI);
imshow(newBI)
to take the image and transform it into something close to a circle, but I'm still unsure how I can go from this to calculating the diameter of the beam, or whether this is the best way of doing it. The beam profile is also doughnut shaped, meaning that the binary image is sometimes picking up that there is a black hole in the middle, which I wan to ignore. I've included an example of one of the images I need to analyse.

Risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by