调色板算法求教?(100分)

E

espite

Unregistered / Unconfirmed
GUEST, unregistred user!
现欲由RGB三基色组成256种颜色。其中R分量大小
可取:
31、63、95、127、159、191、223、255
G分量大小可取:
63、127、191、255
B分量大小可取:
31、63、95、127、159、191、223、255
8*8*4为256种颜色。不知道算法应如何设计才能使
256种颜色连续(最好R由强而弱,再是G由弱而强,
最后B由弱而强)变化?
 
我有现成的算法, 在家里, 待晚上贴到这
 
hi espite,

My source code is little bit too big to put here, so I will mail to you.

It can create ACAD drawing's 256 colors palette. The first 8 colors
are pure color, and the last 5 colors are grascaled colors. Rest of
the colors are calculated by hue and brightness.

It's a delphi 1.0 source, but will work in 3.0 or 4.0.
 
接受答案了.
 
huizhang可以给我一份吗?
lxg@math.zju.edu.cn
 
请给我一份
 
huizhang可以给我一份吗?
cannyclub@chinaren.com

3X!
 
能给我一份吗?
我的email : yusunnuaa@263.net
 
给我一份,谢谢!
kiss2@yeah.net
 

Similar threads

D
回复
0
查看
2K
DelphiTeacher的专栏
D
D
回复
0
查看
1K
DelphiTeacher的专栏
D
D
回复
0
查看
2K
DelphiTeacher的专栏
D
I
回复
0
查看
584
import
I
顶部