public class MorphApp
Composite image processing operations.
public static int L_TOPHAT_WHITE
public static int L_TOPHAT_BLACK
public static int DEFAULT_WIDTH
public static int DEFAULT_HEIGHT
public static Pix pixTophat(Pix pixs, int hsize, int vsize, int type)
Performs a tophat transform.
Notes:
pixs - Source pix (8bpp)hsize - (of Sel; must be odd; origin implicitly in center)vsize - (ditto)type - L_TOPHAT_WHITE: image - opening or L_TOPHAT_BLACK: closing - imagepublic static Pix pixFastTophatBlack(Pix pixs)
Performs a tophat-like operation emphasizing small dark regions using default values.
pixs - Source pix (8bpp)#pixFastTophat(Pix, int, int, int)public static Pix pixFastTophatWhite(Pix pixs)
Performs a tophat-like operation emphasizing small bright regions using default values.
pixs - Source pix (8bpp)#pixFastTophat(Pix, int, int, int)public static Pix pixFastTophat(Pix pixs, int xsize, int ysize, int type)
Performs a tophat-like operation.
Notes:
pixs - Source pix (8bpp)xsize - width of max/min op, smoothing; any integer >= 1ysize - height of max/min op, smoothing; any integer >= 1type - L_TOPHAT_WHITE: image - min, or L_TOPHAT_BLACK: max - image