I use the dcm2pnm funtion to convert DICOM image to BMP image file,but I find the BMP image too bad,it like the gray sky.but the DICOM image was showed very in the efilm.
could any one tell me how can i do it?Mybe the dcm2pnm function need some especial parameter?
why dose the dcm2pnm work not fine?
Moderator: Moderator Team
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
You should specify an appropriate VOI window:
If the image does not contain any useful VOI window you could try the min-max window (+Wm).
Code: Select all
VOI LUT transformation:
-W --no-windowing no VOI windowing (default)
+Wi --use-window [n]umber : integer
use the n-th VOI window from image file
+Wl --use-voi-lut [n]umber : integer
use the n-th VOI look up table from image file
+Wm --min-max-window compute VOI window using min-max algorithm
+Wn --min-max-window-n compute VOI window using min-max algorithm,
ignoring extreme values
+Wr --roi-min-max-window [l]eft [t]op [w]idth [h]eight : integer
compute ROI window using min-max algorithm,
region of interest is specified by l,t,w,h
+Wh --histogram-window [n]umber : integer
compute VOI window using Histogram algorithm,
ignoring n percent
+Ww --set-window [c]enter [w]idth : float
compute VOI window using center c and width w
than you very much!
it worked very fine after using +Wm parameter,Than your Very much!Jörg Riesmeier wrote:You should specify an appropriate VOI window:
If the image does not contain any useful VOI window you could try the min-max window (+Wm).Code: Select all
VOI LUT transformation: -W --no-windowing no VOI windowing (default) +Wi --use-window [n]umber : integer use the n-th VOI window from image file +Wl --use-voi-lut [n]umber : integer use the n-th VOI look up table from image file +Wm --min-max-window compute VOI window using min-max algorithm +Wn --min-max-window-n compute VOI window using min-max algorithm, ignoring extreme values +Wr --roi-min-max-window [l]eft [t]op [w]idth [h]eight : integer compute ROI window using min-max algorithm, region of interest is specified by l,t,w,h +Wh --histogram-window [n]umber : integer compute VOI window using Histogram algorithm, ignoring n percent +Ww --set-window [c]enter [w]idth : float compute VOI window using center c and width w
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest