Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi ColorMap (https://www.delphipraxis.net/4116-colormap.html)

nailor 15. Apr 2003 23:17


ColorMap
 
Ich weiß nicht, ob es offiziell so heißt, aber bei MatLAb hieß es so: ColorMap.

In delphi kann man zb mit:
Delphi-Quellcode:
for i := 0 to 255 do
  cm[i] := i shl r;
Wobei cm ein array mit 255 cardinals für die Delphi-Farbwerte ist, und rgb für rot=0, blau=8 grün=16 gesetzt wird.

ein array mit Farbwerten erstellen, das von links nach rechts "Sinn" macht. Meine Frage ist nun: hat jemand noch andere Colormaps, zb: von grün über blau über gelb zu rot, so wie es zb bei Wärmebildkameraas ist?


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:12 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 by Thomas Breitkreuz