/** This method is invoked for each slice or color channel. It filters * an image by enhancing high-frequency components. Since this * PlugInFilter specifies the CONVERT_TO_FLOAT and SNAPHOT * flags, 'ip' is always a FloatProcessor with a valid snapshot. * @param ip The image, slice or channel to filter */ public void run(ImageProcessor ip) { sharpenFloat((FloatProcessor)ip, sigma, (float)weight); }
/** This method is invoked for each slice or color channel. It filters * an image by enhancing high-frequency components. Since this * PlugInFilter specifies the CONVERT_TO_FLOAT and SNAPHOT * flags, 'ip' is always a FloatProcessor with a valid snapshot. * @param ip The image, slice or channel to filter */ public void run(ImageProcessor ip) { sharpenFloat((FloatProcessor)ip, sigma, (float)weight); }