Quantcast
Channel: Kommentare zu: Photoshop Scripting II – automatisches Keying
Viewing all articles
Browse latest Browse all 6

Von: chmee

$
0
0

Wozu diese 10 Messpunkte? Die Abfrage wäre von der Idee:

max=0
maxpunkt =(0,0)

For x = 0 to Breite
..For y = 0 to Höhe
….if Luma(x,y)>max
……max = farbe(x,y)
……maxpunkt = (x,y)

Max Helligkeit = max
Position = maxpunkt(x,y)

Und natürlich kannst Du es auch im Lab-Raum machen, dann entfällt die Umrechnung Luma(RGB->YUV).


Viewing all articles
Browse latest Browse all 6

Trending Articles