Package one.empty3.feature20220726
Class PixMAndroidVersion
- java.lang.Object
-
- one.empty3.feature20220726.MBitmap
-
- one.empty3.feature20220726.PixMAndroidVersion
-
public class PixMAndroidVersion extends MBitmap
-
-
Field Summary
Fields Modifier and Type Field Description static int
COMP_ALPHA
static int
COMP_BLUE
static int
COMP_GREEN
static int
COMP_INTENSITY
static int
COMP_RED
-
Constructor Summary
Constructors Constructor Description PixMAndroidVersion(double[][] distances)
PixMAndroidVersion(int l, int c)
PixMAndroidVersion(java.awt.image.BufferedImage image)
PixMAndroidVersion(java.awt.image.BufferedImage image, boolean isBitmap)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PixMAndroidVersion
applyFilter(FilterPixM filter)
void
colorsRegion(int x, int y, int w, int h, double[] comps)
void
colorsRegion(int x, int y, int w, int h, PixM subimage, int subImageCopyMode)
PixM
copy()
PixMAndroidVersion
copySubImage(int x, int y, int w, int h)
V
derivative(int x, int y, int order, V originValue)
double
distance(PixM p2)
boolean
equals(java.lang.Object compare)
void
fillIn(ParametricCurve curve, ITexture texture, ITexture borderColor)
PixM
getColorsRegion(int x, int y, int w, int h, int sizeX, int sizeY)
int
getColumns()
java.awt.image.BufferedImage
getImage()
int
getLines()
static PixMAndroidVersion
getPixM(java.awt.image.BufferedImage image, double maxRes)
static PixMAndroidVersion
getPixM(java.awt.image.BufferedImage image, int maxRes)
Point3D
getRgb(int i, int j)
double
luminance(int x, int y)
double
mean(int i, int j, int w, int h)
PixM
normalize(double min, double max)
PixM
normalize(double inMin, double inMax, double min, double max)
double
norme(int x, int y)
void
paintAll(double[] doubles)
PixMAndroidVersion
pasteSubImage(int x, int y, int w, int h)
void
pasteSubImage(PixM copy, int x, int y, int w, int h)
void
plotCurve(ParametricCurve curve, Color color, int x, int y)
void
plotCurve(ParametricCurve curve, ITexture texture)
PixM
subSampling(double div)
-
Methods inherited from class one.empty3.feature20220726.MBitmap
CoFactor, determinant, diag, diag, diagonalSum, error, get, getBitmap, getColor, getCompCount, getCompNo, getIntensity, getOpValue, getP, getValues, getVector, index, init, op, operator, plus, repmat, set, set, setColumns, setCompNo, setLines, setP, setRegionCopy, setRegionCopy, setRegionCopy, setValues, tild, trace
-
-
-
-
Field Detail
-
COMP_RED
public static final int COMP_RED
- See Also:
- Constant Field Values
-
COMP_GREEN
public static final int COMP_GREEN
- See Also:
- Constant Field Values
-
COMP_BLUE
public static final int COMP_BLUE
- See Also:
- Constant Field Values
-
COMP_ALPHA
public static final int COMP_ALPHA
- See Also:
- Constant Field Values
-
COMP_INTENSITY
public static final int COMP_INTENSITY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PixMAndroidVersion
public PixMAndroidVersion(int l, int c)
-
PixMAndroidVersion
public PixMAndroidVersion(java.awt.image.BufferedImage image)
-
PixMAndroidVersion
public PixMAndroidVersion(java.awt.image.BufferedImage image, boolean isBitmap)
-
PixMAndroidVersion
public PixMAndroidVersion(double[][] distances)
-
-
Method Detail
-
getRgb
public Point3D getRgb(int i, int j)
-
getPixM
public static PixMAndroidVersion getPixM(java.awt.image.BufferedImage image, double maxRes)
-
getPixM
public static PixMAndroidVersion getPixM(java.awt.image.BufferedImage image, int maxRes)
-
applyFilter
public PixMAndroidVersion applyFilter(FilterPixM filter)
-
getImage
public java.awt.image.BufferedImage getImage()
-
normalize
public PixM normalize(double inMin, double inMax, double min, double max)
-
normalize
public PixM normalize(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(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)
-
equals
public boolean equals(java.lang.Object compare)
- Overrides:
equals
in classjava.lang.Object
-
luminance
public double luminance(int x, int y)
-
norme
public double norme(int x, int y)
-
getColumns
public int getColumns()
- Overrides:
getColumns
in classMBitmap
-
paintAll
public void paintAll(double[] doubles)
-
plotCurve
public void plotCurve(ParametricCurve curve, ITexture texture)
-
plotCurve
public void plotCurve(ParametricCurve curve, Color color, int x, int y)
-
fillIn
public void fillIn(ParametricCurve curve, ITexture texture, ITexture borderColor)
-
pasteSubImage
public void pasteSubImage(PixM copy, int x, int y, int w, int h)
-
pasteSubImage
public PixMAndroidVersion pasteSubImage(int x, int y, int w, int h)
-
copySubImage
public PixMAndroidVersion copySubImage(int x, int y, int w, int h)
-
-