Method for image coding, electronic device and computer-readable storage medium
摘要:
A method for image coding, an electronic device and a computer-readable storage medium. The method includes: an object region is acquired from a reference image; a pixel block forming the reference image is acquired, and multiple sets of coded data for the pixel are obtained by coding the pixel block in multiple coding modes respectively, each set corresponding to a respective one of the multiple coding modes; a cost parameter of the pixel block is determined based on a relative position relationship between the pixel block and the object region; a coding cost in each of the multiple coding modes for the pixel block, is obtained according to the cost parameter of the pixel block and the coded data in the coding mode; and a set of coded data corresponding to the coding mode with a lowest coding cost is determined as target coded data for the pixel block.
信息查询
0/0