主权项 |
1. A processing method using an image processing apparatus, the method comprising:
obtaining an image; displaying the obtained image on a display region of a display unit; arbitrarily rendering a boundary line on the image displayed on the display region based on an operation input to an operation unit by a user; specifying, as a first region, a portion of the display region that is enclosed by the rendered boundary line; and displaying, on the display region and in response to the specifying of the first region, at least one of an image of the first region and an image of a second region other than the first region in the obtained image in a display mode in which display is performed so as to be capable of discriminating the at least one image; wherein the second region shares the boundary line in common with the first region and is a remaining portion of the display region that excludes the first region; wherein, in a case where a predetermined number of boundary lines are rendered based on the operation input to the operation unit by the user, the first region is specified based on at least one of a size of a plurality of closed regions to be closed by the predetermined number of boundary lines and an overlapping degree between the plurality of closed regions; and wherein, in a case in which, among the plurality of closed regions, a first closed region is present inside a second closed region, an annular region formed by the first and second closed regions is specified as the first region. |