Rgb to yuv format conversion and inverse conversion method and circuit for depth packing and depacking
AssigneeNational Cheng Kung University
InventorJar-Ferr YANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeNational Cheng Kung University
InventorJar-Ferr YANG
Estimating the term…
A conversion method includes: obtaining two R's, two G's and two B's sub-pixel values having interleaved positions from four pixels of the RGB format; obtaining four Y-luminance value, one U-chrominance value and one V-chrominance value of the YUV format according to the obtained sub-pixel values. The Y-luminance values of the first, second, third and fourth pixels in the YUV format are calculated from R's of the first pixel, G's of the second pixel, G's of the third pixel and B's sub-pixel value of the fourth pixel respectively. The U-chrominance value of the first pixel is calculated from B's of the first pixel, R's of the first pixel and the G's sub-pixel value of the third pixel. The V-chrominance value of the first pixel is calculated from the R of the fourth pixel, G of the second pixel and B of the fourth pixel.
A method applied in depacking a depth frame to convert from a YUV format to a RGB format, wherein one pixel in the YUV format includes Y luminance, U chrominance and V chrominance, and one pixel in the RGB format includes a R subpixel, a G subpixel and a B subpixel, the depth frame in YUV format include at least four adjacent pixels in one group and the Y luminance, U chrominance and V chrominance of each pixel are arranged in vertical, theses four pixels in each group includes a first pixel, a second pixel, a third pixel, and a fourth pixel, the first pixel is located adjacent to the second pixel and the third pixel, and the fourth pixel is also located adjacent to the second pixel and the third pixel, the method comprising steps of:
A circuit to convert a YUV format to a RGB format applied in depacking a depth frame, wherein one pixel in the YUV format includes Y luminance, U chrominance and V chrominance, and one pixel in the RGB format includes a R subpixel, a G subpixel and a B subpixel, the depth frame in YUV format include at least four adjacent pixels in one group and the Y luminance, U chrominance and V chrominance of each pixel are arranged in vertical, theses four pixels in each group includes a first pixel, a second pixel, a third pixel, and a fourth pixel, the first pixel is located adjacent to the second pixel and the third pixel, and the fourth pixel is also located adjacent to the second pixel and the third pixel, the circuit comprising:
A method applied in depacking a depth frame to convert from YUV format to RGB format, wherein one pixel in the YUV format includes Y luminance, U chrominance and V chrominance, and one pixel in the RGB format includes R subpixel, G subpixel and B subpixel, the depth frame in YUV format include at least four adjacent pixels in one group, and the Y luminance, U chrominance and V chrominance of each pixel are arranged in vertical, theses four pixels in each group includes a first pixel, a second pixel, a third pixel, and a fourth pixel, the first pixel is located adjacent to the second pixel and the third pixel, and the fourth pixel is also located adjacent to the second pixel and the third pixel, the method comprising steps of:
A circuit to convert a YUV format to a RGB format applied in depacking a depth frame, wherein one pixel in the YUV format includes Y luminance, U chrominance and V chrominance, and one pixel in the RGB format includes R subpixel, G subpixel and B subpixel, the depth frame in YUV format include at least four adjacent pixels in one group, and the Y luminance, U chrominance and V chrominance of each pixel are arranged in vertical, theses four pixels in each group includes a first pixel, a second pixel, a third pixel, and a fourth pixel, the first pixel is located adjacent to the second pixel and the third pixel, and the fourth pixel is also located adjacent to the second pixel and the third pixel, the circuit comprising:
A method applied in packing a depth frame to convert from RGB format to YUV format, wherein one pixel in the RGB format includes a R subpixel, a G subpixel and a B subpixels, and the one pixel in the YUV format includes Y luminance, U chrominance and V chrominance, the depth frame in RGB format include at least four adjacent pixels in one group, and the R subpixel, G subpixel and B subpixel of each pixel are arranged in vertical, these four pixels in each group includes a first pixel, a second pixel, a third pixel, and a fourth pixel, and the first pixel is located adjacent to the second pixel and the third pixel, and the fourth pixel is also located adjacent to the second pixel and the third pixel, the method comprises following steps of:
Dependencies are inferred from the claim text.