Patent ID: 8731052

Claim:
An image processing device comprising: a basic quantizing factor determining unit configured to determine a basic quantizing factor regarding which is predicted that the generated code quantity for each image increment when encoding an input image will approximate to the target code quantity for said each image increment; an encoding unit configured to encode said input image for each feedback control increment by executing quantization using a usage quantizing factor determined based on at least said basic quantizing factor; and a feedback control unit configured to confirm the generated code quantity of said input image encoded by said encoding unit for said each feedback control increment, and in the case of predicting that the generated code quantity for said each image increment will exceed the target code quantity for said each image increment, increase said usage quantizing factor, wherein, to stabilize the usage quantizing factor and to suppress the generated code quantity to the target code quantity, the feedback control unit divides the encoding process of the encoding unit into a first half processing during which a feedback control by the feedback control unit is not executed and a second half processing during which the feedback control is executed, and the feedback control unit switches from the first half processing to the second half processing when the number of encoded image increments is greater than a first predetemined amount or when the number of to-be-encoded image increments is less than a second predetermined amount.