public void setImage( II grayII , Planar<II> colorII ) {
		InputSanityCheck.checkSameShape(grayII,colorII);
		if( colorII.getNumBands() != numBands )
			throw new IllegalArgumentException("Expected planar images to have "
					+numBands+" not "+colorII.getNumBands());

		this.grayII = grayII;
		this.colorII = colorII;
	}
public void setImage ( II grayII , Planar < II > colorII ) { InputSanityCheck . checkSameShape ( grayII , colorII ) ; if ( colorII . getNumBands ( ) != numBands ) throw new IllegalArgumentException ( "Expected planar images to have " + numBands + " not " + colorII . getNumBands ( ) ) ; this . grayII = grayII ; this . colorII = colorII ; }
Specifies input image shapes.
@param grayII integral image of gray scale image
@param colorII integral image of color image