Documentation of 'Catalano.Imaging.Tools.Kernel' Java class
Kernel
Catalano.Imaging.Tools

Class Kernel



  • public class Kernel
    extends java.lang.Object
    Kernel operations.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Kernel() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double[][] Decompose(double[][] kernel)
      Decompose the kernel into vectors.
      static boolean isNormalized(double[][] kernel)
      Check if the kernel is normalized.
      static boolean isSeparable(int[][] kernel)
      Check if the kernel is separable (Separable convolution).
      static double[][] Normalize(double[][] kernel)
      Normalize kernel.
      static double[][] toDouble(int[][] kernel)
      Convert kernel to normalized double values.
      static int[] toInt(double[] kernel) 
      static int[][] toInt(double[][] kernel)
      Convert kernel to normalized integer values.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Kernel

        public Kernel()
    • Method Detail

      • Decompose

        public static double[][] Decompose(double[][] kernel)
        Decompose the kernel into vectors.
        Parameters:
        kernel - Kernel.
        Returns:
        Vectors.
      • Normalize

        public static double[][] Normalize(double[][] kernel)
        Normalize kernel.
        Parameters:
        kernel - Kernel.
        Returns:
        Normalized kernel.
      • isNormalized

        public static boolean isNormalized(double[][] kernel)
        Check if the kernel is normalized. If the sum of elements its approximated equals 1.
        Parameters:
        kernel - Kernel.
        Returns:
        True if is normalized, otherwise false.
      • isSeparable

        public static boolean isSeparable(int[][] kernel)
        Check if the kernel is separable (Separable convolution).
        Parameters:
        kernel - Kernel.
        Returns:
        True if the kernel can be decomposed, otherwise false.
      • toDouble

        public static double[][] toDouble(int[][] kernel)
        Convert kernel to normalized double values.
        Parameters:
        kernel - Kernel.
        Returns:
        Kernel.
      • toInt

        public static int[][] toInt(double[][] kernel)
        Convert kernel to normalized integer values.
        Parameters:
        kernel - Kernel.
        Returns:
        Kernel.
      • toInt

        public static int[] toInt(double[] kernel)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.