主权项 |
1. A control apparatus that controls an image processing apparatus in which a plurality of image processing modules is connected by a bus in a ring shape and the plurality of image processing modules performs, on an input image, a series of image processes in a predetermined processing order to generate an output image, the control apparatus comprising:
a first obtaining unit configured to obtain a size of the output image that the image processing apparatus is caused to output; a second obtaining unit configured to obtain the predetermined processing order in the series of the image processes and processing parameters for processing performed by, among the plurality of image processing modules, each of at least two image processing modules configured to perform the series of the image processes; a calculation unit configured to calculate a number of pixels, required for outputting the size of the output image, according to the processing parameters and the predetermined processing order, wherein the calculation unit is configured to set an image processing module of interest, among the plurality of image processing modules performing the series of the image processes, in a reverse order to the predetermined processing order, and the calculation unit calculates the number of pixels required for the image processing module of interest using, as the size of an output image, the number of pixels required for an image processing module which performs processing after the image processing module of interest; and a determination unit configured to determine a size of the input image to be input to the image processing apparatus based on the number of pixels calculated by the calculation unit. |