Encoding apparatus and encoding method encoding raw data that is quantized based on an index value of noise amount in an optical black area
First Claim
Patent Images
1. An encoding apparatus comprising:
- a processor and a memory storing a program configured to execute;
acquiring an index value of a noise amount by analyzing at least a part of an optical black area that is included in raw data;
quantizing the raw data based on the index value; and
encoding the quantized raw data,wherein the raw data includes a first area having at least a part of the optical black area, and a second area that does not include the optical black area,wherein the acquiring acquires the index value based on a code amount of encoded data generated by encoding the raw data in the first area, andwherein if the index value is a first value, the quantizing quantizes the raw data in the second area with a first quantization step, and if the index value is a second value corresponding to a larger noise amount than a noise amount in a case where the index value is the first value, the quantizing quantizes the raw data in the second area with a second quantization step that is larger than the first quantization step.
1 Assignment
0 Petitions
Accused Products
Abstract
There is provided an encoding apparatus. An acquiring unit acquires an index value of a noise amount by analyzing at least a part of an optical black area that is included in raw data. A quantizing unit quantizes the raw data based on the index value. An encoding unit encodes the quantized raw data. If the index value is a first value, the quantizing unit quantizes the raw data with a first quantization step. If the index value is a second value corresponding to a larger noise amount than a noise amount in a case where the index value is the first value, the quantizing unit quantizes the raw data with a second quantization step that is larger than the first quantization step.
4 Citations
14 Claims
-
1. An encoding apparatus comprising:
-
a processor and a memory storing a program configured to execute; acquiring an index value of a noise amount by analyzing at least a part of an optical black area that is included in raw data; quantizing the raw data based on the index value; and encoding the quantized raw data, wherein the raw data includes a first area having at least a part of the optical black area, and a second area that does not include the optical black area, wherein the acquiring acquires the index value based on a code amount of encoded data generated by encoding the raw data in the first area, and wherein if the index value is a first value, the quantizing quantizes the raw data in the second area with a first quantization step, and if the index value is a second value corresponding to a larger noise amount than a noise amount in a case where the index value is the first value, the quantizing quantizes the raw data in the second area with a second quantization step that is larger than the first quantization step. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An encoding method comprising:
-
acquiring an index value of a noise amount by analyzing at least a part of an optical black area that is included in raw data; quantizing the raw data based on the index value; and encoding the quantized raw data, wherein the raw data includes a first area having at least a part of the optical black area, and a second area that does not include the optical black area, wherein the acquiring unit acquires the index value based on a code amount of encoded data generated by encoding the raw data in the first area, and wherein if the index value is a first value, the raw data in the second area is quantized with a first quantization step in the quantizing, and if the index value is a second value corresponding to a larger noise amount than a noise amount in a case where the index value is the first value, the raw data in the second area is quantized with a second quantization step that is larger than the first quantization step in the quantizing.
-
-
11. A non-transitory computer-readable storage medium which stores a program for causing a computer to execute an encoding method, the program comprising code to execute:
-
acquiring an index value of a noise amount by analyzing at least a part of an optical black area that is included in raw data; quantizing the raw data based on the index value; and encoding the quantized raw data, wherein the raw data includes a first area having at least a part of the optical black area, and a second area that does not include the optical black area, wherein the acquiring unit acquires the index value based on a code amount of encoded data generated by encoding the raw data in the first area, and wherein if the index value is a first value, the raw data in the second area is quantized with a first quantization step in the quantizing, and if the index value is a second value corresponding to a larger noise amount than a noise amount in a case where the index value is the first value, the raw data in the second area is quantized with a second quantization step that is larger than the first quantization step in the quantizing.
-
-
12. An encoding apparatus comprising:
-
a processor and a memory storing a program configured to execute; acquiring an index value of a noise amount by analyzing at least a part of an optical black area that is included in raw data; quantizing the raw data based on the index value; and encoding the quantized raw data, wherein the raw data includes a first area having at least a part of the optical black area, and a second area that does not include the optical black area, wherein the acquiring acquires the index value based on a variance or a standard deviation of pixel values in the first area, and wherein if the index value is a first value, the quantizing quantizes the raw data in the second area with a first quantization step, and if the index value is a second value corresponding to a larger noise amount than a noise amount in a case where the index value is the first value, the quantizing quantizes the raw data in the second area with a second quantization step that is larger than the first quantization step.
-
-
13. A method for an encoding apparatus comprising:
-
acquiring an index value of a noise amount by analyzing at least a part of an optical black area that is included in raw data; quantizing the raw data based on the index value; and encoding the quantized raw data, wherein the raw data includes a first area having at least a part of the optical black area, and a second area that does not include the optical black area, wherein the index value is acquired based on a variance or a standard deviation of pixel values in the first area, and wherein if the index value is a first value, the quantizing quantizes the raw data in the second area with a first quantization step, and if the index value is a second value corresponding to a larger noise amount than a noise amount in a case where the index value is the first value, the quantizing quantizes the raw data in the second area with a second quantization step that is larger than the first quantization step.
-
-
14. A non-transitory computer-readable storage medium which stores a program for causing a computer to execute an encoding method, the program comprising code to execute:
-
acquiring an index value of a noise amount by analyzing at least a part of an optical black area that is included in raw data; quantizing the raw data based on the index value; and encoding the quantized raw data, wherein the raw data includes a first area having at least a part of the optical black area, and a second area that does not include the optical black area, wherein the index value is acquired based on a variance or a standard deviation of pixel values in the first area, and wherein if the index value is a first value, the quantizing quantizes the raw data in the second area with a first quantization step, and if the index value is a second value corresponding to a larger noise amount than a noise amount in a case where the index value is the first value, the quantizing quantizes the raw data in the second area with a second quantization step that is larger than the first quantization step.
-
Specification