• Keine Ergebnisse gefunden

Stefan Posch, Institut für Informatik, Uni Halle 1

N/A
N/A
Protected

Academic year: 2022

Aktie "Stefan Posch, Institut für Informatik, Uni Halle 1"

Copied!
10
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

1 1 1 1 1

1 1

1 3 3

3 3 3 3 2 2 2 2 4 4

4 4 4

(2)

4 connected 8 connected

(3)

interior Grenze

(4)

Recursive Connected Components Algorithm initialize all pixels as unlabeld

L := 0;

for alle Zeilen

for alle Spalten

if pixel is 1 ∧ pixel is unlabeled then L++;

labelIt( pixel, L) fi

endfor endfor

labelIt( pixel, L)

label pixel as L

for qixel is neigbor of pixel

if qixel is 1 ∧ qixel is unlabeled then labelIt( qixel, L)

fi endfor

(5)

Sequential Connected Components

initialize empty equivalence table

for alle Zeilen (von oben nach unten)

for alle Spalten (von links nach rechts) if pixel is 1 then

if either upper or left neighbors has label then copy the label

else if both neighbors have same label then copy the label

else if both neighbors have different label then copy the upper neighbors label

copy enter the labels in the equivalence table else

assign new label to this pixel

enter this label in the equivalence table fi

fi endfor endfor

(6)

Find the lowest label for each equivalent set in the equivalence table

Scan the picture and replace each label by the lowest lable in its equivalent set

(7)
(8)

AAc AJAc K A(J,K) Abbildung1:Beispielfuerhit-and-miss:upper- right-handcorner

(9)

J1 J2 J3 J4

K1 K2 K3 K4

J5 J6 J7 J8

K5 K6 K7 K8

(10)

x x

x

x

x

x

x

Referenzen

ÄHNLICHE DOKUMENTE

1.6 Stefan Posch, Institut für Informatik, Uni Halle Alignments in Datenbanken 31. 1

Return of the exercise sheet: 24.Oct.2019 during the exercise

Our main result is to show that generally fourth-order correlators are sufficient to violate state-independent noncontextuality and a Bell-type inequality which can be violated

Definition 22 ein impliziter Suffixbaum ist definiert für einen String, für den Suffixe auch Präfixe anderer Suffixe sein dürfen, analog zu einem

die Tiefe eines Knotens depht(v) ist (wie üblich) die Anzahl der Kanten des eindeutigen Weges von der Wurzel zum Knoten v.. Stefan Posch, Institut für Informatik, Uni

Stefan Posch, Institut für Informatik, Uni Halle 11... Stefan Posch, Institut für Informatik, Uni

Stefan Posch, Institut für Informatik, Uni

Energy modeling at the International Institute for Applied Systems Analysis (IIASA) is part of the Energy Systems Program, a research program which focuses its