ImageAlgorithms

Inheritance: java.lang.Object

public class ImageAlgorithms

Constructors

Constructor Description
ImageAlgorithms()

Methods

Method Description
autoContrastByEqualization(ByteBitmap aBmp)
autoContrastBySides(ByteBitmap aBmp, float Sides)
autoContrastFloat(FloatBitmap aBmp, float threshold)
autoContrastFloatBySides(FloatBitmap aBmp, int PrevHistCnt, float Sides)
autoContrastShort(ShortBitmap aBmp)
brightnessGamma(ByteBitmap aBmp)
brightnessGamma(ByteBitmap aBmp, double aGamma)
brightnessGammaLevels(ByteBitmap aBmp)
brightnessGammaLevels(ByteBitmap aBmp, float aC, float aPhi)
brightnessLogarithmicLevels(ByteBitmap aBmp)
brightnessLogarithmicLevels(ByteBitmap aBmp, float aC, float aPhi)
classicAutoContrast(ByteBitmap aBmp)
equals(Object arg0)
getClass()
getHistogramFromByteBitmap(ByteBitmap aBmp)
getHistogramFromRectangle(ByteBitmap byteBitmap, System.Drawing.Rectangle rectangle) Get the histogram for the rectangle on the bytebitmap.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ImageAlgorithms()

public ImageAlgorithms()

autoContrastByEqualization(ByteBitmap aBmp)

public static ByteBitmap autoContrastByEqualization(ByteBitmap aBmp)

Parameters:

Parameter Type Description
aBmp ByteBitmap

Returns: ByteBitmap

autoContrastBySides(ByteBitmap aBmp, float Sides)

public static ByteBitmap autoContrastBySides(ByteBitmap aBmp, float Sides)

Parameters:

Parameter Type Description
aBmp ByteBitmap
Sides float

Returns: ByteBitmap

autoContrastFloat(FloatBitmap aBmp, float threshold)

public static FloatBitmap autoContrastFloat(FloatBitmap aBmp, float threshold)

Parameters:

Parameter Type Description
aBmp FloatBitmap
threshold float

Returns: FloatBitmap

autoContrastFloatBySides(FloatBitmap aBmp, int PrevHistCnt, float Sides)

public static ByteBitmap autoContrastFloatBySides(FloatBitmap aBmp, int PrevHistCnt, float Sides)

Parameters:

Parameter Type Description
aBmp FloatBitmap
PrevHistCnt int
Sides float

Returns: ByteBitmap

autoContrastShort(ShortBitmap aBmp)

public static ShortBitmap autoContrastShort(ShortBitmap aBmp)

Parameters:

Parameter Type Description
aBmp ShortBitmap

Returns: ShortBitmap

brightnessGamma(ByteBitmap aBmp)

public static ByteBitmap brightnessGamma(ByteBitmap aBmp)

Parameters:

Parameter Type Description
aBmp ByteBitmap

Returns: ByteBitmap

brightnessGamma(ByteBitmap aBmp, double aGamma)

public static ByteBitmap brightnessGamma(ByteBitmap aBmp, double aGamma)

Parameters:

Parameter Type Description
aBmp ByteBitmap
aGamma double

Returns: ByteBitmap

brightnessGammaLevels(ByteBitmap aBmp)

public static ByteBitmap brightnessGammaLevels(ByteBitmap aBmp)

Parameters:

Parameter Type Description
aBmp ByteBitmap

Returns: ByteBitmap

brightnessGammaLevels(ByteBitmap aBmp, float aC, float aPhi)

public static ByteBitmap brightnessGammaLevels(ByteBitmap aBmp, float aC, float aPhi)

Parameters:

Parameter Type Description
aBmp ByteBitmap
aC float
aPhi float

Returns: ByteBitmap

brightnessLogarithmicLevels(ByteBitmap aBmp)

public static ByteBitmap brightnessLogarithmicLevels(ByteBitmap aBmp)

Parameters:

Parameter Type Description
aBmp ByteBitmap

Returns: ByteBitmap

brightnessLogarithmicLevels(ByteBitmap aBmp, float aC, float aPhi)

public static ByteBitmap brightnessLogarithmicLevels(ByteBitmap aBmp, float aC, float aPhi)

Parameters:

Parameter Type Description
aBmp ByteBitmap
aC float
aPhi float

Returns: ByteBitmap

classicAutoContrast(ByteBitmap aBmp)

public static ByteBitmap classicAutoContrast(ByteBitmap aBmp)

Parameters:

Parameter Type Description
aBmp ByteBitmap

Returns: ByteBitmap

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getHistogramFromByteBitmap(ByteBitmap aBmp)

public static int[] getHistogramFromByteBitmap(ByteBitmap aBmp)

Parameters:

Parameter Type Description
aBmp ByteBitmap

Returns: int[]

getHistogramFromRectangle(ByteBitmap byteBitmap, System.Drawing.Rectangle rectangle)

public static int[] getHistogramFromRectangle(ByteBitmap byteBitmap, System.Drawing.Rectangle rectangle)

Get the histogram for the rectangle on the bytebitmap. If rectangle is bigger than bytebitmap, get histogram for the interception

Parameters:

Parameter Type Description
byteBitmap ByteBitmap Input bytebitmap
rectangle com.aspose.ms.System.Drawing.Rectangle Input rectangle

Returns: int[] - A histogram

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int