phase image resizing issue

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 个评论

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()
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.

请先登录,再进行评论。

 采纳的回答

Image Analyst
Image Analyst 2018-1-26

0 个投票

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 个评论

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.
imresize() then, it sounds like; you might want to experiment with the different resize methods that imresize() provides

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by