avatar
Graphics question# Java - 爪哇娇娃
j*1
1
【 以下文字转载自 Complain 讨论区 】
发信人: mitbbs (未名空间), 信区: Complain
标 题: Re: [投诉]TrustinJesus版主Dignity两天之内狂删我19篇主题帖
发信站: BBS 未名空间站 (Tue Jun 28 02:58:38 2011, 美东)
由于版内炸版,会引起误删。版主可恢复其误删的帖子
avatar
c*t
2
I created an Image from an 16bit data file using DataBufferUShort.
Then, created a WritableRaster from DataBuffer. The color model
is IndexColorModel. The image is build from the raster and IndexColorModel.
Now the question is how to specify the specific color index from
IndexColorModel for drawing? There can be many duplicate colors
in the IndexColorModel, yet I still want to paint the image with
specific index.
I am doing this for labeling regions of images by letting users
paint the region
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。