1. An apparatus for sampling images comprising: a probe configured to: capture an image, and detect an angular velocity of the probe representing a change in an angle of the probe at a surface of an object; and at least one processor configured to: receive the angular velocity and the image captured by the probe, segment the image into sub-regions along a depth direction from the surface to an inside of the object, sample the sub-regions with a different sampling rate based on a position of each sub-region, and determine a number of the sub-regions and a sampling rate of the each sub-region based on the angular velocity.