Class PixM

java.lang.Object
one.empty3.feature.M
one.empty3.feature.PixM
All Implemented Interfaces:
InterfaceMatrix
Direct Known Subclasses:
FeatureDescriptor, FilterPixM, Matrix

public class PixM extends M
  • Field Details

  • Constructor Details

    • PixM

      public PixM(int l, int c)
    • PixM

      public PixM(BufferedImage image)
    • PixM

      public PixM(double[][] distances)
  • Method Details

    • getRgb

      public Point3D getRgb(int i, int j)
    • getPixM

      public static PixM getPixM(BufferedImage image, double maxRes)
    • applyFilter

      public PixM applyFilter(FilterPixM filter)
    • derivative

      public V derivative(int x, int y, int order, V originValue)
    • getImage

      public BufferedImage getImage()
    • plotCurve

      public void plotCurve(ParametricCurve curve, ITexture texture)
    • plotCurveRaw

      public void plotCurveRaw(ParametricCurve curve, ITexture texture)
    • fillIn

      public void fillIn(ParametricCurve curve, ITexture texture, ITexture borderColor)
    • normalize

      public PixM normalize(double min, double max)
    • normalize

      public PixM normalize(double inMin, double inMax, double min, double max)
    • subSampling

      public PixM subSampling(double div)
    • mean

      public double mean(int i, int j, int w, int h)
    • copy

      public PixM copy()
    • distance

      public double distance(ParametricCurve curve, Point3D p)
    • distance

      public double distance(PixM p2)
    • colorsRegion

      public void colorsRegion(int x, int y, int w, int h, double[] comps)
    • getColorsRegion

      public PixM getColorsRegion(int x, int y, int w, int h, int sizeX, int sizeY)
    • colorsRegion

      public void colorsRegion(int x, int y, int w, int h, PixM subimage, int subImageCopyMode)
    • pasteSubImage

      public PixM pasteSubImage(int x, int y, int w, int h)
    • copySubImage

      public PixM copySubImage(int x, int y, int w, int h)
    • colorsRegionWithMask

      public void colorsRegionWithMask(int x, int y, int w, int h, PixM subimage, PixM addMask)
    • equals

      public boolean equals(Object compare)
      Overrides:
      equals in class Object
    • luminance

      public double luminance(int x, int y)
    • norme

      public double norme(int x, int y)
    • getColumns

      public int getColumns()
      Overrides:
      getColumns in class M
    • getLines

      public int getLines()
      Overrides:
      getLines in class M
    • paintAll

      public void paintAll(double[] doubles)
    • replaceColor

      public PixM replaceColor(double[] doubles, double[] doubles1, double delta)
    • pasteSubImage

      public void pasteSubImage(PixM copySubImage, int i, int j, int w, int h)
    • difference

      public double difference(PixM other, double precision)