1. An image measuring apparatus, comprising: an imaging device that images a workpiece to acquire an image of the workpiece; and a processing device that performs measurement of the workpiece based on the image and outputs a measurement result, the processing device based on the image, generating another image whose number-of-pixels is smaller than that of the image, setting a plurality of regions based on the another image, and calculating the measurement result based on the plurality of regions.