Borrar filtros
Borrar filtros

Finding average diameter of bacteria using FFT .

4 visualizaciones (últimos 30 días)
learningDSP
learningDSP el 9 de Oct. de 2017
Comentada: Akira Agata el 22 de Oct. de 2017
I have an electronic microscopic image
that contains thousands of bacteria. I need to estimate the average diameter of the bacterium in the photo using FFT. Value can be in pixels.

Respuestas (2)

Akira Agata
Akira Agata el 11 de Oct. de 2017
Need to use FFT?
I think you can find average diameter by using imfindcircles function, like:
% Read the image and binarize
I = imread('bacteria.jpg');
% Find circles using Hough transform
[centers, radii] = imfindcircles(I,[20 50]);
% Show the result
imshow(I);
viscircles(centers, radii,'EdgeColor','b');
By this script, 426 bacterias were detected, as shown in the following image. And here is an average radius in pixel.
>> mean(radii)
ans =
32.3151
  6 comentarios
learningDSP
learningDSP el 13 de Oct. de 2017
yes
Akira Agata
Akira Agata el 22 de Oct. de 2017
Maybe the following page will be helpful.

Iniciar sesión para comentar.


Image Analyst
Image Analyst el 13 de Oct. de 2017
OK, let's start with
fftImage = fft2(grayImage);
and see where that gets us. Also write down the formula for fourier transform of a circle with randomly placed delta functions.

Community Treasure Hunt

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

Start Hunting!

Translated by