Converting Image Dimensions from Pixels to Nanometers

9 visualizaciones (últimos 30 días)
Bethany
Bethany el 23 de Oct. de 2023
Comentada: Image Analyst el 24 de Oct. de 2023
Hi all, I am trying to process an image and I am having problems with the dimensions. I know how to get the dimensions of my image, however they are in pixels and I want to convert to nanometers; I don't want to resize the image, just do a conversion. Any tips?
  7 comentarios
Bethany
Bethany el 24 de Oct. de 2023
Maybe I need to clarify more; the objects in my image are supposed to be say around 80nm, however with the psf of the system that may not be recorded accurately. Since I know my magnification, and using the properties of my camera which say the pixel size is 6.5 microns, i was able to calculate the effective pixel size in my image to be 54 nm. When I import my image in matlab, it is 1920 x 1920 pixels, and I just want to convert those dimensions to nanometers for easier calculations later. Sorry if that doesn't make much sense what it is I want the code to do.
Image Analyst
Image Analyst el 24 de Oct. de 2023
You should take a picture of an object of known length, such as a scale or beads of known diameter. Then use my program.

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 23 de Oct. de 2023
Multiply by a scaling factor determined by measuring the distance of a known object in your image. See my attached demo.

Más respuestas (0)

Categorías

Más información sobre Biomedical Imaging en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by