I have merged image A and B into image C using imfuse(A,B) function, But how to get A and B from C?

1 次查看(过去 30 天)
I want to get back my original images from imfused image.
  1 个评论
the cyclist
the cyclist 2016-10-8
I am not an image-processing expert, but isn't the inverse process ill-defined? Couldn't a given image be created from many (infinite?) possible pairs?

请先登录,再进行评论。

回答(3 个)

Massimo Zanetti
Massimo Zanetti 2016-10-8
Impossible.

Image Analyst
Image Analyst 2016-10-8
Possibly. It depends on what method you used to do the fusing, and what other information you still have available from before the fusing. What happened to your original images anyway? Why did you lose them?
  2 个评论
keertika g
keertika g 2016-10-8
I have used Imfuse method to merge 2 images, I want to find if a given image is composite image or an independent image, if it is a composite image then, I want original Images used in generation of composite image.
Image Analyst
Image Analyst 2016-10-8
编辑:Image Analyst 2016-10-8
Again, "What happened to your original images anyway? Why did you lose them?" What happened to A and B that you sent into imfuse()???
And there is no "imfuse" method. Have you read the help on imfuse()? The available methods are falsecolor, blend, diff, and montage. Which one did you use?

请先登录,再进行评论。


Walter Roberson
Walter Roberson 2016-10-8
In order to detect whether a given image is composite or an independent image, you need to use image forensics.
If you do manage to detect that an area is blended, then it is not in general possible to recover the original image. For example,
This is clearly a composite image: now what was originally inside the orange area?
  1 个评论
Image Analyst
Image Analyst 2016-10-8
But they said "I have merged image A and B" so they HAVE the original images A & B or else they could not have called imfuse() in the first place.
I'm beginning to think it's a matter of scope where they made a fused image and then, in some other function, don't know how to get the original variables. If this is the case, it's a matter of scope which can be cured by discovering ways to share variables across different functions, as explained in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by