主权项 |
1. A tracking device comprising:
an imaging part for capturing a subject image and repeatedly acquiring image data on the subject image; a tracking processing part for setting a tracking position based on first image data of the repeatedly acquired image data to perform tracking processing on a subject in the tracking position based on second image data acquired after the first image data; a relative distance information calculating part for calculating relative distance information using (1) a determined information about a distance to the tracking position and (2) a determined information about a distance to a surrounding area around the tracking position; and a color tracking processing part, which is included in the tracking processing part, for (1) acquiring color information based on the first image data, (2) searching for an area having an identical or similar color to the color information acquired on the second image data, and (3) performing tracking processing using any area found in the search, wherein the tracking processing part determines, based on the determined information about a distance to a surrounding area, whether another subject in the surrounding area is moving towards the tracking position, and responsive to a determination that the other subject in the surrounding area is moving towards the tracking position, the color tracking processing part increases a resolution of the color information acquired and used when searching for areas with identical or similar colors, and wherein the tracking processing part determines whether the other subject in the surrounding area is located at a closer range than the subject in the tracking position based on the relative distance information calculated, and responsive to a determination that the other subject in the surrounding area is located at the closer range than the subject in the tracking position, prohibiting tracking processing by the tracking processing part. |