1. An image processing device comprising: a processor; and a memory including instructions that, when executed by the processor, cause the processor to perform operations including: recognizing one or more shape elements which are included in an input image from a feature amount included in the input image; selecting a desired shape element out of the one or more shape elements that are recognized; removing information which becomes disturbance according to a selected shape element; and estimating a target shape element from information of a region corresponding to the selected shape element, wherein the removing includes performing, by interpolation processing, processing of expanding a point or a feature amount that configures the selected shape element.