Image shrinking support on trk::detect() function.