public void setImage ( ImagePyramid < InputImage > image , DerivativeImage [ ] derivX , DerivativeImage [ ] derivY ) { if ( image . getNumLayers ( ) != derivX . length || image . getNumLayers ( ) != derivY . length ) throw new IllegalArgumentException ( "Number of layers does not match." ) ; this . image = image ; this . derivX = derivX ; this . derivY = derivY ; }
Sets the current input images for the tracker to use .