![]() |
Re: Pixels vs. Scanline. Seltsames Ergebnis...
thx.
Habe diesen Code getestet(Und die Bitmaps auf pf24bit gesetzt):
Delphi-Quellcode:
Es werden bei einem 320*160 großem bild nur noch 0-30 ticks beansprucht.
line1 := Image1.ScanLine[Image1.Height-1];
line2 := Image2.ScanLine[Image1.Height-1]; for x := 0 to Image1.Width*Image1.Height do begin if abs(line1[x]-line2[x]) > max then inc(differents); PS: Auch wenns evtl. falsch is :P |
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:08 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz