Re: Open RGB Explicit Little endian Dicom Image




Neeraj wrote:
Hi
I am trying to open RGB Explicit Little endian Dicom Image.Which Tag
information shows that
this is a 8 bit image.Its transfer syntex is "1.2.840.10008.1.2.1"
,Samples Per Pixel=3,
I am little confuse that 8bit allocation means" 8-bit for red,8-bit
fro green,8-bit for blue"
Or 3 bit for red,3bit for green ,2 bit for blue. please gide me how to
proceed to open this type of image. What Tag information needed for
open this image.

Your juxtapositioning of the transfer syntax and samples per pixel=3 in
the same sentence could possibly be interpreted as indicating you
somehow think the transfer syntax conveys some parsing of multiple
samples per pixel. When using JPEG compression of RGB color images, the
logic to set up the JPEG compression would likely use the DICOM Tag
(0028,0002) - samples per pixel to set up the correct JPEG header
markers (since the JPEG alogrithm is normally setup to compress the R,
G, and B components of a color image as if each component was a
separate greyscale 8-bit image).
However - the transfer syntax you cite is not a JPEG compression
transfer syntax. Instead it is Explict VR Little Endian (as you
stated); but your citation of a transfer syntax is irrelevant to the
discussion of the pixel encoding.
What you need to look at are
(0028,0100) - Bits Allocated
(0028,0101) - Bits Stored
(0028,0102) - High Bit
(0028,0002) - Samples per pixel


In the DICOM Standard Part 3, Bits Allocated Definition says "Number of
bits allocated for each pixel sample. Each sample shall have the same
number of bits allocated. See PS 3.5 for further explanation."

Also the definition of Sample Per Pixel says
"Samples per Pixel (0028,0002) is the number of separate planes in this
image. One, three, and four image planes are defined. Other numbers of
image planes are allowed, but their meaning is not defined by this
Standard.
For monochrome (gray scale) and palette color images, the number of
planes is 1. For RGB and other three vector color models, the value of
this attribute is 3. For four vector color models, the value of this
attribute is 4."

Also, under the definition of Photometric Interpretation, the coded
term RGB has the following information
"RGB = Pixel data represent a color image described by red, green, and
blue image planes. The minimum sample value for each color plane
represents minimum intensity of the color. This value may be used only
when Samples per Pixel (0028,0002) has a value of 3"

Bottom line, although you haven't listed these attributes - your images
are almost certainly 24 bit, 3 component, 8-bits per pixel color sample
images. In your case Bits Stored and Bits Allocated should be the same.

.



Relevant Pages

  • Re: Contious optical receiver
    ... What differ a prism from a RGB mask? ... So you say the blending a CCD record is not physical? ... The sensor array has a color filter mask over it so each "pixel" is ...
    (sci.physics)
  • Re: interpolation for a color image?
    ... produce a result that is the same as box interpolation of RGB. ... interpolation errors on reparate RGB channels may produce a new pixel value slightly ... store the RGB ratios for each pixel, i.e., keep the original image, convert ...
    (sci.image.processing)
  • Re: How to display 16 bit RGB values [was: Re: How o display PALETTE COLOR Images]
    ... this is the size of the pixel data, so we are fine - and it's Bytes. ... We are *not* dealing with a Palette Color image, it's plain RGB ...
    (comp.protocols.dicom)
  • Re: image processing
    ... 4.Calculate the distance in RGB space for each pixel from each of the ... Calculate the various area fractions for the 10 different minerals ... HSV color space and calculating delta E color difference isn't much ...
    (comp.soft-sys.matlab)
  • Re: Steps From Levels?
    ... between the original luminance levels in the sensor image and the RGB ... pixel has the value r, g, b, can I determine the RGB values for one step ... But the zone system clue lead me to Norman Koren ...
    (rec.photo.digital.slr-systems)