Hi, I have phase images of 5x which needed to be taken in 10x. is there any way I can convert my 5x phase images into 10x without changing actual image size? pixel to meter conversion for my microscope is 6.5 ( 1 pixel = 6.5 micron), no magnification.

2 comentarios

Walter Roberson
Walter Roberson el 26 de En. de 2018
When you say "without changing actual image size", do you mean that size() of the two arrays must be the same? Or do you mean that when you display them that they have to show up in the same size window? Or do you mean that when you print them to paper that they have to show up the same size ??
If it is size() of the two that have to be the same, then the only way you could do that would be to crop out half of the image in each direction so that after you double the resolution you would end up with something the same size()
MD MYDUL ISLAM
MD MYDUL ISLAM el 26 de En. de 2018
Hi, Thank you very much for your response. My problem is, I have to crop out a region from phase(which is in 5x) that will cut same region from corresponding fluorescence image (which is in 10x). so, if I convert phase images from 5x to 10x, both phase and fluorescence image needs to show up same size for cropping purposes. I would really appreciate if you help me with a sample code. Phase image optical resolution is not important for me.

Iniciar sesión para comentar.

 Respuesta aceptada

Image Analyst
Image Analyst el 26 de En. de 2018

0 votos

I agree with Walter. To make a magnification 5 image look like a 10 mag image, you'd have to crop out the middle half with imcrop(), then resize by a factor of 2 with imresize(img, 2). You'll have the same pixel "resolution" (i.e. rows and columns) but of course the optical resolution will not be increased, you'll merely have the field of view like you'd have with a mag 10 image. Blowing up/magnifying images and getting better optical resolution only happens in Hollywood.

2 comentarios

MD MYDUL ISLAM
MD MYDUL ISLAM el 26 de En. de 2018
Hi, thank you both. I have elaborated my problem in the conversation with Walter. --- My problem is, I have to crop out a region from phase(which is in 5x) that will cut same region from corresponding fluorescence image (which is in 10x). so, if I convert phase images from 5x to 10x, both phase and fluorescence image needs to show up same size for cropping purposes. I would really appreciate if you help me with a sample code. Phase image optical resolution is not important for me.
Walter Roberson
Walter Roberson el 26 de En. de 2018
imresize() then, it sounds like; you might want to experiment with the different resize methods that imresize() provides

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Read, Write, and Modify Image en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 26 de En. de 2018

Comentada:

el 26 de En. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by