Specifying chroma siting when converting from yuv to rgb

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
hiddenbit
Posts: 3
Joined: 2017-12-07T03:06:05-07:00
Authentication code: 1152

Specifying chroma siting when converting from yuv to rgb

Post by hiddenbit »

Hello,

I was wondering if and how can I specify the chroma siting during the chroma reconstruction process, while converting from YCbCr into rgb.
I want to generate some reference rgb images, converted from yuv using all possible combinations of chroma sitings.

The chroma siting can be either midpoint or cosited_even. You can see some images explaining this in the Vulkan specification, in chapter 15.3.8. Chroma Reconstruction.

Thanks!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Specifying chroma siting when converting from yuv to rgb

Post by fmw42 »

What is chroma siting? Searching for "siting" at your reference finds nothing.
hiddenbit
Posts: 3
Joined: 2017-12-07T03:06:05-07:00
Authentication code: 1152

Re: Specifying chroma siting when converting from yuv to rgb

Post by hiddenbit »

Try searching for
"xChromaOffset=COSITED_EVEN"
or
"Figure 4."
or for the chapter
"15.3.8. Chroma Reconstruction"
hiddenbit
Posts: 3
Joined: 2017-12-07T03:06:05-07:00
Authentication code: 1152

Re: Specifying chroma siting when converting from yuv to rgb

Post by hiddenbit »

Ah forgot to clarify that I would like to be able to specify both x chroma offset and y chroma offset separately
Post Reply