1. An image processing apparatus, comprising: means for inputting an input image; means for obtaining an image object indicating specific image processing to be applied to the input image; means for managing a state of the image object and transition of the state; and means for outputting the state of the image object and the transition of the state as transition data, wherein the means for managing comprises means for obtaining a transition probability, which is included in the transition data.