I am converting RGB to YCBCR image but reverse is not working.
Show older comments
I want to convert RGB image to YCBCR by using rgb2ycbcr, it is working but when I am using ycbcr2rgb to get back image then it is now converting properly.
2 Comments
Simon Chan
on 16 Aug 2021
Do you mean the function is not working which cannot generate an image for you? Or the generated RGB image has pixel values which are not exactly the same as the original RGB image?
Balkar Singh
on 16 Aug 2021
Accepted Answer
More Answers (1)
Balkar Singh
on 16 Aug 2021
0 votes
2 Comments
Image Analyst
on 16 Aug 2021
Some rounding errors will occur during a round trip when you are converting integers to floating point and then back again.
Balkar Singh
on 16 Aug 2021
Categories
Find more on Images in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

