plugins.big.bigsnakeutils.process.process2D
Class Filters

java.lang.Object
  extended by plugins.big.bigsnakeutils.process.process2D.Filters

public class Filters
extends java.lang.Object

Class that encapsulated simple 2D image operations.

Version:
May 3, 2014
Author:
Ricard Delgado-Gonzalo (ricard.delgado@gmail.com), Nicolas Chenouard (nicolas.chenouard@gmail.com)

Constructor Summary
Filters()
           
 
Method Summary
static void filter3x3(double[] pixels, int width, int height, int[] kernel)
          Efficient routine to filter an image expressed as an array of pixels with a 3x3 kernel.
static void filter3x3(icy.image.IcyBufferedImage im, int[] kernel)
          Applies a 3x3 smoothing kernel to the image.
static void invert(icy.image.IcyBufferedImage im)
          Applies an affine mapping to the image values such that the minimum value is mapped to the maximum and vice versa.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filters

public Filters()
Method Detail

filter3x3

public static void filter3x3(icy.image.IcyBufferedImage im,
                             int[] kernel)
Applies a 3x3 smoothing kernel to the image.


filter3x3

public static void filter3x3(double[] pixels,
                             int width,
                             int height,
                             int[] kernel)
Efficient routine to filter an image expressed as an array of pixels with a 3x3 kernel.


invert

public static void invert(icy.image.IcyBufferedImage im)
Applies an affine mapping to the image values such that the minimum value is mapped to the maximum and vice versa.