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

Walter Roberson
Walter Roberson 2018년 1월 26일
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 2018년 1월 26일
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

MD MYDUL ISLAM
MD MYDUL ISLAM 2018년 1월 26일
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 2018년 1월 26일
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에 대해 자세히 알아보기

태그

질문:

2018년 1월 26일

댓글:

2018년 1월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by