Abstract:
An encoding, a decoding method, a system for encoding and decoding, an encoder, and a decoder are provided. The encoding method includes the following. In a palette mode, if colors of pixels of a coding unit block are all represented by one or more major colors of the coding unit block, a flag is set as a first state value, and if the color of at least one pixel of the coding unit block is not represented by the one or more major colors of the coding unit block, the flag is set as a second state value. The encoding method further includes establishing a palette table corresponding to the coding unit block according to a state value of the flag and the one or more major colors.
Abstract:
The disclosure is directed to a method of color palette coding and an electronic device using the same method. The proposed method would include not limited to encoding, by using a processor, a bit stream to represent a color of a coding unit and storing the bit stream in a storage medium or transmitting the bit stream. The bit stream would include not limited to a binary bit representing a run flag, a N binary bit sequence representing up to 2N major colors in a coding unit with each of the possible values of the N binary bit sequence representing an unique major color index of N major color indices, and a M binary bit sequence representing up to 2M extended colors with each of the possible values of the M binary bit sequence representing an unique extended color index of M extended color indices.
Abstract:
A depth map aligning method and a system are provided. The depth map aligning method includes the following steps. A view warping is performed to a left-view image and a right-view image of a real-view image according to a corresponding depth map to obtain a right-virtual view image, a left hole information, and a right hole information thereof. A residual difference of pixel, which is not a hole, is obtained by pixel to pixel. If the residual difference of the pixel is larger than a first threshold value, a reverse warping is performed to obtain a coordinate of the pixel. The depth value of the pixel is aligned according to the depth value of one or more pixels in a vicinity of the obtained coordinate.
Abstract:
A method and system for encoding three-dimensional (3D) video are provided. The method includes: obtaining a depth map of the 3D video, wherein the depth map includes multiple pixels and each of the pixels has a depth value; identifying a first contour of an object in the depth map; changing the depth values according to whether the pixels are located on the first contour to generate a contour bit map; compressing the contour bit map to generate a first bit stream, and decompressing the first bit stream to generate a reconstructed contour bit map; obtaining multiple sampling pixels of the pixels in the object according to a second contour corresponding to the object in the reconstructed contour bit map; and, encoding locations and the depth values of the sampling pixels. Therefore, a compression ratio of the 3D video is increased.
Abstract:
An encoding, a decoding method, a system for encoding and decoding, an encoder, and a decoder are provided. The encoding method includes the following. In a palette mode, if colors of pixels of a coding unit block are all represented by one or more major colors of the coding unit block, a flag is set as a first state value, and if the color of at least one pixel of the coding unit block is not represented by the one or more major colors of the coding unit block, the flag is set as a second state value. The encoding method further includes establishing a palette table corresponding to the coding unit block according to a state value of the flag and the one or more major colors.
Abstract:
A method for decoding, a method for encoding, a codec system, a decoder and an encoder are provided. The method includes receiving a first flag corresponding to a coding unit block, and receiving and reading a second flag corresponding to the coding unit block and index values of each pixel of the coding unit block when a state value of the first flag is conformed with a predetermined state value. The method also includes selecting N colors corresponding to N index pixels from a neighboring area of the coding unit block according to the second flag, wherein the second flag indicates an amount of the N colors corresponding to the N index pixels and colors of each of the N colors are different. The method further includes reconstructing pixels of the coding unit block according to the N colors corresponding to the N index pixels.
Abstract:
An encoding, a decoding method, a system for encoding and decoding, an encoder, and a decoder are provided. The encoding method includes the following. In a palette mode, if colors of pixels of a coding unit block are all represented by one or more major colors of the coding unit block, a flag is set as a first state value, and if the color of at least one pixel of the coding unit block is not represented by the one or more major colors of the coding unit block, the flag is set as a second state value. The encoding method further includes establishing a palette table corresponding to the coding unit block according to a state value of the flag and the one or more major colors.
Abstract:
A content patch encoding method and a content patch decoding method are provided. The content patch decoding method includes: receiving a bit stream, and obtaining multiple information corresponding to a point cloud patch and a mesh patch accordingly; obtaining a connectivity between multiple vertices of the mesh patch based on the bit stream; and reconstructing the point cloud patch and the mesh patch based on the information and the connectivity between the vertices.
Abstract:
A video encoding method includes receiving a source video frame, dividing the source video frame into a coding tree unit, determining a coding unit from the coding tree unit, enabling or disabling a coding mode of the coding unit, determining, if the coding mode is enabled, whether to evaluate a size of a transform unit for the enabled coding mode, and determining a transform unit of the coding unit for the enabled coding mode, wherein the size of the coding unit is defined by a number (N) of samples.
Abstract:
In an embodiment, an encoding method includes generating a histogram corresponding to all pixels in a coding unit. The encoding method further includes seeking a first color value according to the histogram, wherein a first number of pixels of the first color value in the histogram is greater than or equals to a first threshold. The encoding method further includes seeking a second color value in a first range of the first color value according to the histogram. The encoding method further includes removing one or more pixels of the first color value from the histogram when a second number of pixels of the second color value is greater than or equals to a second threshold. The encoding method further includes adding the first color value into an initial color table when the second number of pixels is less than the second threshold. An encoder is also provided in the disclosure.