1. A method for obtaining a bounding box into a second image containing an object of a first image, comprising: representing said first image by a color index map wherein a color index corresponds to a color and a color index is assigned to each pixel of said first image; computing a first histogram based on said color indices of the pixels belonging to a first window in the first image containing said object; computing a second histogram based on said color indices of the pixels belonging to a second window in the first image surrounding the first window; obtaining an object template by calculating a difference between the first histogram and the second histogram; calculating a hemimetric distance between the object template and a histogram based on color indices of pixels belonging to a current window of the second image; reducing said current window until said hemimetric distance is no longer less than a threshold; enlarging said current window using each corner coordinate of said current window until the object is contained within said current window to produce a bounding box in said second image containing said object.