Image processing apparatus and control method
An image processing apparatus comprises a display control unit that displays defect information detected from an image in which an inspection target is captured, on a display unit in association with the image. The display control unit controls a method of displaying the defect information based on a display size of at least one of the image and the defect information.
1 . An image processing apparatus comprising:
one or more memories storing instructions; and
one or more processors executing the instructions to:
display defect shape data detected from an image in which a concrete structure is captured, on the image,
wherein in the displaying, (1) a displayed shape of the defect shape data is polylines, and (2) a method of the displaying of the defect shape data is controlled based on a display size of at least one of the image and the defect shape data, and
wherein in the controlling, vertices of the displayed defect shape data are reduced in a case where the display size of the image is smaller than a threshold size.
2 . The image processing apparatus according to claim 1 , wherein the one or more processors further execute the instructions to detect a defect from the image, and
wherein in the displaying, the one or more processors display the defect shape data to be superimposed on the image such that a position of the defect shape data is aligned with the detected defect.
3 . The image processing apparatus according to claim 1 , wherein the one or more processors thin out the polylines in a case where the display size of the image is changed to be smaller than the threshold size.
4 . The image processing apparatus according to claim 1 , wherein the one or more processors reduce colors of the polylines in a case where the display size of the image is changed to be smaller than the threshold size.
5 . The image processing apparatus according to claim 1 , wherein the one or more processors display, in a first display region so as to be selectable, a list of first display images superimposed on a shape of the defect shape data of which the shape is simplified, and
wherein when one of the first display images is selected, the one or more processors display, in a second display region, a second display image superimposed on a detail shape of the defect shape data.
6 . The image processing apparatus according to claim 1 , wherein the defect shape data includes at least one of cracking, spalling, efflorescence, a cold joint, and a rock pocket.
7 . A method of controlling an image processing apparatus, the method comprising:
displaying defect shape data detected from an image in which a concrete structure is captured, on the image,
wherein in the displaying, (1) a displayed shape of the defect shape data is polylines, and (2) a method of the displaying of the defect shape data is controlled based on a display size of at least one of the image and the defect shape data, and
wherein in the controlling, vertices of the displayed defect shape data are reduced in a case where the display size of the image is smaller than a threshold size.
8 . A non-transitory computer-readable storage medium storing a program for causing a computer to execute a method of controlling an image processing apparatus, the method comprising:
displaying defect shape data detected from an image in which a concrete structure is captured, on the image,
wherein in the displaying, (1) a displayed shape of the defect shape data is polylines, and (2) a method of the displaying of the defect shape data is controlled based on a display size of at least one of the image and the defect shape data, and
wherein in the controlling, vertices of the displayed defect shape data are reduced in a case where the display size of the image is smaller than a threshold size.