how to read complex image in matlab?

I have a complex image, where each pixel of the image contains a complex number. The complex image is in ".img" format. I want to read the complex values stored in each pixel of the complex image. Please suggest code for extracting the complex values form the complex image.
Thank you

댓글 수: 2

stozaki
stozaki 2020년 2월 11일
Please see following answers. I could use the answer to read the complex image.
Iron1759
Iron1759 2021년 2월 2일
It does solve the problem of for instance showing FFT image.
However, how do you work with this image from that point? i.e. to which type it can be categorised?
Thanks.

댓글을 달려면 로그인하십시오.

답변 (1개)

Raunak Gupta
Raunak Gupta 2020년 2월 17일

0 개 추천

Hi,
Specifically reading a ‘.img file is not supported in imread so for reading ‘.img’ you may use fopen and fread. There is a similar answer which may be helpful to you if header file for corresponding ‘.img’ file is not available.

카테고리

도움말 센터File Exchange에서 Images에 대해 자세히 알아보기

태그

질문:

2020년 2월 11일

댓글:

2021년 2월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by