How to convert binartized image back to original image

8 ビュー (過去 30 日間)
i have binarized the image using the following code.
orgImage = imread('coins.png');
binImage = imbinarize(orgImage);
How to get back my orgImage from binimage?


Image Analyst
Image Analyst 2021 年 5 月 23 日
What do you mean by "get back"? You still have it. Just because you passed it in to imbinarize(), that did not change or delete the original image. It is still there in your program (the workspace of your script or function).
If you somehow manually deleted it, then you cannot recover the original image because lots of gray scale images could give rise to the same binary image.
  3 件のコメント
Saravanakumar Chandrasekaran
Saravanakumar Chandrasekaran 2021 年 5 月 28 日
Thank you image analyst.. i got the concept


その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by