[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1253.0. "12-bit image displayable?" by PHDVAX::FEENY () Wed Aug 09 1989 18:18

    my customer has 12-bit pixel data, acquired from
    some radiological imaging device, and they would like
    to display it on their 8-plane PVAX.  can it be done?
    
    they've tried, via XLIB and/or DWT calls, to specify that
    the data is 12 bit data, but they get an error when trying
    to send the image to a window. 
    
    i can provide more details, but i first want to make
    sure that we're not on a dead-end street.
    
    thx up front.
    
    michael

T.RTitleUserPersonal
Name
DateLines
1253.1non-trivialPSW::WINALSKIMeetings are our most important productWed Aug 09 1989 20:0314
I would guess that the 12 bits represent 4 bits each of R, G, and B, in X terms,
it is 12-bit TrueColor.  If that is the case, the only thing you can do on an
8-bit PseudoColor system such as a 8-plane PVAX is to choose a pallette of up
to 256 colors that are a best-efforts attempt to represent all of the different
RGB values in the original image.  Build a color map representing this pallette,
then translate the pixels in the image to the corresponding 8-bit pixels in the
color map.

This job is much easier on a 24-plane Firefox--all you have to do is turn the
12 bit TrueColor pixels into 24 bit TrueColor pixels by padding each of the R,
G, and B fields with 4 zero bits.

--PSW

1253.2convert it to .ddif?MEREK::BAILEYAnd Soon the DarknessThu Aug 10 1989 04:581
1253.38-bit to bitonal - any relevance?PHDVAX::FEENYThu Aug 10 1989 10:357
    my understanding is that one can take 8-bit pixel data and display
    it on a bitonal workstation.  if so, how is this done, and does
    the method have applicability to the "12-bit to 8-bit" problem?
    
    thx.
    michael

1253.4Use the imaging servicesSTAR::BMATTHEWSThu Aug 10 1989 11:0515
The image services library can blue noise dither color images and get excellent
quality although it takes a while. I would suggest using ISL to color dither
from 4,4,4 to 3,3,2 and then saving the result as ddif for faster redisplay
of the images. I believe that the resultant images can be compressed in ddif
for disk space savings and faster network transmission. It is very hard to
differentiate a natural 24 plane image blue noise dithered to 8 planes from
the original. To try this put up a 24 plane natural image on a 24 plane firefox
use print screen set up to store color ddif to get the image and then display
the image on an 8 plane system with the cda viewer. the results are really
impressive. The only drawback is the time it takes to do the dithering.
The next generation VAX graphics hardware will be capable of doing the
dithering in hardware very quickly if we can get an x11 imaging extension that
supports that new hardware.
							Bill

1253.5Some more suggestionsNOBOZO::WEBERThu Aug 10 1989 12:0216
	Since this is coming from a radiological device, I suspect the image is 
actually 12 bits of grayscale. There are two alternatives:

	o As has been suggested, you can use imaging services to dither the
	  12 bits of grayscale down to 8 bits which can be displayed. The
	  results will be quite good, but may not be acceptable to physicians.
	  The medical community (especially radiologists) have very strict
	  requirements about how image data may be processed for display.

	o Use a technique often employed in medical imaging applications known
	  windowing and leveling. This basically takes a slice an 8 bit slice of
	  the 12 bit space and redistributes it into 8 bit grayscale. Its a
	  combination of clipping and requantization.

	/John

1253.6CERES::BAILEYAnd Soon the DarknessThu Aug 10 1989 16:448
>The image services library can blue noise dither color images and get excellent
>quality although it takes a while. I would suggest using ISL to color dither


(really a rathole)..  whats "blue noise dither"???

(I _think_ I know what dithering is... but why the "Blue")

1253.7PSW::WINALSKIMeetings are our most important productFri Aug 11 1989 15:037
"white noise" is random static.  The terms "pink noise" and "blue noise" skew
the random distribution in particular directions, the point being to give more
visually pleasing results than one would get with a purely random dither.  I
don't know the details of what constitutes "blue noise."

--PSW

1253.8NOBOZO::WEBERSat Aug 12 1989 17:438
    "Blue Noise Dithering" is an error diffusion dither technique which
    adds a random noise factor in to avoid correlated artifacts in the
    resulting image. The term blue noise is used to describe high frequency
    white noise, the power spectrum of which is zero to some high frequency
    and then flat thereafter.
    
    /John