Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What about RGB images? #1

Open
dreamckk opened this issue Sep 22, 2020 · 2 comments
Open

What about RGB images? #1

dreamckk opened this issue Sep 22, 2020 · 2 comments

Comments

@dreamckk
Copy link

I notice that the input images are treated as gray images.Why should do this?
What if my input are RGB image and single band image?
Hope you can give me some suggestions ,thank you .

@hli1221
Copy link
Owner

hli1221 commented Oct 31, 2020

The RGB image can be transformed into YCbCr domain which Y channel can be treated as a gray image.
Then, you can use fusion method to fuse Y channel of RGB image and single band image.
Finally, you add the color information(Cr and Cb channel) into the fused image.

@dreamckk
Copy link
Author

dreamckk commented Nov 8, 2020

Thank you for yous suggestion! So isn't there a direct way to fuse the RGB image and single band image?
I try to transform the RGB image to the IHS domain firstly and then use the I channel to fuse. The fusion result looks ok, but I cannot find the codes of some evaluation indexes, like SAM, CC, ERGAS and QNR. It's so kind of you if you can provide some codes of indexes to me. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants