/** * Makes sure the input image is not a sub-image */ public static void checkSubimage( ImageBase image ) { if( image.isSubimage() ) throw new IllegalArgumentException("Input image cannot be a subimage"); }
/** * Makes sure the input image is not a sub-image */ public static void checkSubimage( ImageBase image ) { if( image.isSubimage() ) throw new IllegalArgumentException("Input image cannot be a subimage"); }