protected BufferedImage transform ( BufferedImage image ) { if ( image != null ) { WebcamImageTransformer tr = getImageTransformer ( ) ; if ( tr != null ) { return tr . transform ( image ) ; } } return image ; }
TRansform image using image transformer . If image transformer has not been set this method return instance passed in the argument without any modifications .