public class LawsTextureEnergy
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int[] |
Edges
Edges
|
static int[] |
Level
Level
|
static int[] |
Ripples
Ripples
|
static int[] |
Spots
Spots
|
static int[] |
Waves
Waves
|
| Constructor and Description |
|---|
LawsTextureEnergy()
Initialize a new instance of the LawsTextureEnergy class.
|
LawsTextureEnergy(int[][] mask)
Initialize a new instance of the LawsTextureEnergy class.
|
LawsTextureEnergy(int[] vector1,
int[] vector2)
Initialize a new instance of the LawsTextureEnergy class.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getTextureEnergyMap()
Compute texture energy map.
|
long |
getTextureEnergyMap(int x,
int y,
int width,
int height)
Compute texture energy map.
|
long |
getTextureEnergyMap(IntPoint point,
int width,
int height)
Compute texture energy map.
|
int[] |
getVector1()
Get vector1.
|
int[] |
getVector2()
Get vector2.
|
void |
ProcessImage(FastBitmap fastBitmap)
Process image to produce the texture filtered images.
|
void |
setVector1(int[] vector1)
Set vector1.
|
void |
setVector2(int[] vector2)
Set vector2.
|
FastBitmap |
toFastBitmap()
Returns image processed.
|
public static final int[] Level
public static final int[] Edges
public static final int[] Spots
public static final int[] Ripples
public static final int[] Waves
public LawsTextureEnergy()
public LawsTextureEnergy(int[] vector1,
int[] vector2)
vector1 - Vector1.vector2 - Vector2.public LawsTextureEnergy(int[][] mask)
mask - Mask.public int[] getVector1()
public void setVector1(int[] vector1)
vector1 - Vector1.public int[] getVector2()
public void setVector2(int[] vector2)
vector2 - Vector2.public void ProcessImage(FastBitmap fastBitmap)
fastBitmap - Image to be processed.public FastBitmap toFastBitmap()
public long getTextureEnergyMap()
public long getTextureEnergyMap(int x,
int y,
int width,
int height)
x - X axis coordinate.y - Y axis coordinate.width - Width.height - Height.public long getTextureEnergyMap(IntPoint point, int width, int height)
point - Point contains X and Y axis coordinates.width - Width.height - Height.