Groups
Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
Groups
tw.bbs.comp.oop
Conversations
About
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
彩色BMP檔轉成256灰階的規則?
0 views
Skip to first unread message
yaoyu
unread,
Apr 6, 1998, 3:00:00 AM
4/6/98
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
【 在
Martin...@cis.nctu.edu.tw
(三少爺的劍) 的大作中提到: 】
: 如題,我需要寫一個程式把彩色的BMP檔轉成256灰階,
: 請問有人知道該怎麼弄嗎?乘乘除除就好了嗎?
: 多謝指教
: 三少爺的劍
將RGB想成3D之X,Y,Z軸,則BMP的RGB為(r,g,b)與座標(u,u,u)距離最小時的u
即為灰階值
--
[m [1;35m※ 來源:‧交大電控BBS
www.cn.nctu.edu.tw
‧[FROM: 140.113.149.79] [m
0 new messages