Class Algorithmus

Implemented Interfaces:
Runnable
Known Direct Subclasses:
Canny, Energy, Fractal, Gauss, GLCM, Gradient, Gradient2, Kirsch, Median, Prewitt, Robert, Robinson, Sobel

(package private) class Algorithmus
extends java.lang.Object
implements Runnable

Field Summary

protected int
alt_breite
protected int
alt_hoehe
protected int
breite
protected int
hoehe
protected Image
img
protected int
maskengroesse
protected int
max
protected float
maxf
protected int
min
protected float
minf
protected int
threshold
protected BildKomp
ziel

Constructor Summary

Algorithmus(Image img, BildKomp ziel)
Algorithmus(Image img, BildKomp ziel, int maskengroesse)
Algorithmus(Image img, BildKomp ziel, int maskengroesse, int threshold)

Method Summary

protected void
algorithmus(int[][] pixs, int[][] hilfe)
protected Image
berechne()
protected byte[]
berechneAlgo(byte[] original)
protected void
rescaling(float[][] bild)
protected void
rescaling(int[][] bild)
void
run()

Field Details

alt_breite

protected int alt_breite

alt_hoehe

protected int alt_hoehe

breite

protected int breite

hoehe

protected int hoehe

img

protected Image img

maskengroesse

protected int maskengroesse

max

protected int max

maxf

protected float maxf

min

protected int min

minf

protected float minf

threshold

protected int threshold

ziel

protected BildKomp ziel

Constructor Details

Algorithmus

(package private)  Algorithmus(Image img,
                               BildKomp ziel)

Algorithmus

(package private)  Algorithmus(Image img,
                               BildKomp ziel,
                               int maskengroesse)

Algorithmus

(package private)  Algorithmus(Image img,
                               BildKomp ziel,
                               int maskengroesse,
                               int threshold)

Method Details

algorithmus

protected void algorithmus(int[][] pixs,
                           int[][] hilfe)

berechne

protected Image berechne()

berechneAlgo

protected byte[] berechneAlgo(byte[] original)

rescaling

protected void rescaling(float[][] bild)

rescaling

protected void rescaling(int[][] bild)

run

public void run()