Systems and methods for signaling lens optical correction information in video coding
A device may be configured to signal an lens optical correction information message. In one example, the lens optical correction information message includes a syntax element identifying a type of vignetting model. The syntax element may identifying a type of vignetting model as a polynomial sixth order model. A device may be configured to receive the lens optical correction information message.
1 . A device comprising one or more processors configured to:
receive a lens optical correction information message;
parse a first syntax element in the lens optical correction information message, wherein the first syntax element identifies a type of vignetting model, wherein the first syntax element having a value of 0 indicates a polynomial sixth order model as the type of vignetting model;
parse a second syntax element in the lens optical correction information message, wherein the second syntax element is a 25 bit signed integer and a value obtained by dividing a value of the second syntax element by 2 to the power of 24 indicates a value of a first vignetting distortion coefficient from the polynomial sixth order model;
parse a third syntax element in the lens optical correction information message, wherein the third syntax element is a 25 bit signed integer and a value obtained by dividing a value of the third syntax element by 2 to the power of 24 indicates a value of a second vignetting distortion coefficient from the polynomial sixth order model; and
parse a fourth syntax element in the lens optical correction information message, wherein the fourth syntax element is a 25 bit signed integer and a value obtained by dividing a value of the fourth syntax element by 2 to the power of 24 indicates a value of a third vignetting distortion coefficient from the polynomial sixth order model.
2 . The device of claim 1 , wherein the device includes a video decoder.
3 . A device comprising one or more processors configured to:
signal a lens optical correction information message, wherein the lens optical correction information message includes:
a first syntax, wherein the first syntax element identifies a type of vignetting model, wherein the first syntax element having a value of 0 indicates a polynomial sixth order model as the type of vignetting model,
a second syntax element, wherein the second syntax element is a 25 bit signed integer and a value obtained by dividing a value of the second syntax element by 2 to the power of 24 indicates a value of a first vignetting distortion coefficient from the polynomial sixth order model,
a third syntax element, wherein the third syntax element is a 25 bit signed integer and a value obtained by dividing a value of the third syntax element by 2 to the power of 24 indicates a value of a second vignetting distortion coefficient from the polynomial sixth order model, and
a fourth syntax element, wherein the fourth syntax element is a 25 bit signed integer and a value obtained by dividing a value of the fourth syntax element by 2 to the power of 24 indicates a value of a third vignetting distortion coefficient from the polynomial sixth order model.
4 . The device of claim 3 , wherein the device includes a video encoder.
5 . A non-transitory computer-readable storage medium comprising instructions stored thereon that, when executed, cause one or more processors of a device to:
signal a bitstream, wherein the bitstream includes a lens optical correction information message, wherein the lens optical correction information message includes:
a first syntax element, wherein the first syntax element identifies a type of vignetting model, wherein the first syntax element having a value of 0 indicates a polynomial sixth order model as the type of vignetting model,
a second syntax element, wherein the second syntax element is a 25 bit signed integer and a value obtained by dividing a value of the second syntax element by 2 to the power of 24 indicates a value of a first vignetting distortion coefficient from the polynomial sixth order model;
a third syntax element, wherein the third syntax element is a 25 bit signed integer and a value obtained by dividing a value of the third syntax element by 2 to the power of 24 indicates a value of a second vignetting distortion coefficient from the polynomial sixth order model, and
a fourth syntax element, wherein the fourth syntax element is a 25 bit signed integer and a value obtained by dividing a value of the fourth syntax element by 2 to the power of 24 indicates a value of a third vignetting distortion coefficient from the polynomial sixth order model.