Path: news.mathworks.com!not-for-mail
From: "Kenneth Eaton" <Kenneth.dot.Eaton@cchmc.dot.org>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Any way to speed up drawing of tiny patch object?
Date: Thu, 12 Jun 2008 22:03:01 +0000 (UTC)
Organization: Cincinnati Children's Hospital Research Center
Lines: 9
Message-ID: <g2s6el$ael$1@fred.mathworks.com>
References: <c99b0c35-4eca-4087-981d-ac5489bd7849@p25g2000hsf.googlegroups.com> <g2s5vn$5l3$1@fred.mathworks.com>
Reply-To: "Kenneth Eaton" <Kenneth.dot.Eaton@cchmc.dot.org>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1213308181 10709 172.30.248.35 (12 Jun 2008 22:03:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 12 Jun 2008 22:03:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1165924
Xref: news.mathworks.com comp.soft-sys.matlab:473566



Additionally, if you still want to mimic the appearance of 
a transparent patch, without transparency, you could 
probably make the face color of the patch the average of 
the image voxel below it and a highlight color. In other 
words, if the voxel color is an RGB vector ([r g b]), and 
you want a red highlight ([1 0 0]), then make the patch 
face color [(r+1)/2 g/2 b/2]. Just a thought...

Ken