Image processing device and method for assigning luma blocks to chroma blocks
View Patent ↗The present invention relates to an image processing device and method, which realize improvement in encoding efficiency for color difference signals and reduction in address calculations for memory access. In a case where a block size of orthogonal transform is 4×4, and a macroblock of luminance signals is configured of four 4×4 pixel blocks appended with 0 through 1, the four luminance signal blocks are corresponded with one color difference signal 4×4 block appended with C. At this time, there exist four motion vector information of mv 0 , mv 1 , mv 2 , and mv 3 , as to the four luminance signal blocks. The motion vector information mv c of the one color difference signal 4×4 block is calculated by averaging processing using these four motion vector information. The present invention can be applied to an image encoding device which performed encoding based on the H.264/AVC format, for example.
1. An encoding device comprising:
circuitry configured to
assign four 4×4 luma blocks including a luma component of an image to one first 4×4 chroma block including first chroma component of the image and one second 4×4 chroma block including second chroma component of the image which is different from the first chroma component in a format of 4:2:0 including a luma signal and a chroma signal and that a luma block size is 4×4.
2. The encoding device according to claim 1 , wherein the circuitry is further configured to
encode the 4×4 chroma blocks according to an assigned chroma block size.
3. The encoding device according to claim 1 , wherein
the format is a color format written as Y/Cb/Cr,
the luma component is Y,
the first chroma component is Cb, and
the second chroma component is Cr.
4. A method comprising:
assigning four 4×4 luma blocks including a luma component of an image to one first 4×4 chroma block including first chroma component of the image and one second 4×4 chroma block including second chroma component of the image which is different from the first chroma component in a format of 4:2:0 including a luma signal and a chroma signal and that a luma block size is 4×4.
5. The method according to claim 4 , further comprising:
encoding the 4×4 chroma blocks according to an assigned chroma block size.
6. The method according to claim 4 , wherein
the format is a color format written as Y/Cb/Cr,
the luma component is Y,
the first chroma component is Cb, and
the second chroma component is Cr.
7. A non-transitory computer-readable medium having embodied thereon a program, which when executed by a computer causes the computer to execute a method, the method comprising:
assigning four 4×4 luma blocks including a luma component of an image to one first 4×4 chroma block including first chroma component of the image and one second 4×4 chroma block including second chroma component of the image which is different from the first chroma component in a format of 4:2:0 including a luma signal and a chroma signal and that a luma block size is 4×4.
8. The non-transitory computer-readable medium according to claim 7 , wherein the executed method further comprises:
encoding the 4×4 chroma blocks according to an assigned chroma block size.
9. The non-transitory computer-readable medium according to claim 7 , wherein
the format is a color format written as Y/Cb/Cr,
the luma component is Y,
the first chroma component is Cb, and
the second chroma component is Cr.