Search found 31 matches

by winstondcm
Mon, 2010-05-10, 18:16
Forum: DCMTK - General
Topic: how to combine several JPEG files to converted into one dcm?
Replies: 0
Views: 15366

how to combine several JPEG files to converted into one dcm?

hi, dcmtk team: i want to save several jpeg files into one single multiframe dicom file, so each frame stores one jpeg file.. i don't want to decode the jpeg and put data then encode it... should i use pixelsequence like this? DcmPixelSequence *sequence = new DcmPixelSequence(DcmTag(DCM_PixelData, E...
by winstondcm
Sun, 2010-04-25, 10:37
Forum: DCMTK - General
Topic: StoreSCU cann't send dicom file with JPEG lossless compressi
Replies: 4
Views: 6442

thank you

thank you sir, but what i mean is, sometimes, i don't know about the details of the dicom file i was going to send... so i don't know how to set those parameters. if i know before hand that, the dicom file was compressed with jpeg lossless, i then can choose proper option.. but most of time, i don't...
by winstondcm
Thu, 2010-04-22, 15:30
Forum: DCMTK - General
Topic: how to set these tags that not in the dcmtk code?
Replies: 1
Views: 2573

how to set these tags that not in the dcmtk code?

there are many tags from dicom standard that not in the dcmtk source code. last time, thanks to Mr. Michael Onken, who used dicomcheck to check the dicom file i generated, found there are a lot of tags i didn't set in. including the following: DCM_CurveNumber DCM_CurveDimensions DCM_NumberOfPoints D...
by winstondcm
Thu, 2010-04-22, 15:23
Forum: DCMTK - General
Topic: StoreSCU cann't send dicom file with JPEG lossless compressi
Replies: 4
Views: 6442

StoreSCU cann't send dicom file with JPEG lossless compressi

hi, dcmtk experts: why StoreSCU cann't send 8 bit grayscale dicom file with JPEG lossless compression? i tried with storescu send non-compression dicom file, just fine, but when i send the 8 bit grayscale dicom file with JPEG lossless compression, it wouldn't do: I: checking input files ... I: Reque...
by winstondcm
Sat, 2010-04-17, 11:53
Forum: DCMTK - General
Topic: about windows center and windows width
Replies: 12
Views: 16332

yes, jorg.

i understand now, what Sante Viewer did is just a kind of post-converting displaying effect. not really important and not a DICOM implement.

thank you for clarifying for me.

winston.
by winstondcm
Sat, 2010-04-17, 11:40
Forum: DCMTK - General
Topic: window leveling
Replies: 4
Views: 6729

Thank you very much, jorg..

have a nice weekend.

winston.
by winstondcm
Sat, 2010-04-17, 11:37
Forum: DCMTK - General
Topic: about windows center and windows width
Replies: 12
Views: 16332

thank you, jorg.. Btw, a 24-bit RGB image converted to grayscale results in 8 bits per pixel (max. 256 shades of gray). Why do you want to apply windowing to such an image? you meant: when i use di->CreateMonochromeImage() it's actually became a 8 bit gray image? oh.. then, that's not what i want. w...
by winstondcm
Sat, 2010-04-17, 11:31
Forum: DCMTK - General
Topic: tool img2dcm not useful for gray level image with BMP format
Replies: 6
Views: 7916

thank you, jorg. maybe you meant, from a dicom file converting to a grayscale 8 bit BMP? yes, i know this option but, what i am trying to do is the reverse, converting a 8 bit grayscale BMP to a dicom file, img2dcm refused.. i have to load the data from bmp, and create a dicom from raw data..and suc...
by winstondcm
Sat, 2010-04-17, 10:12
Forum: DCMTK - General
Topic: about windows center and windows width
Replies: 12
Views: 16332

confusing

even if i convert the DicomImage to monochrome one, i still can not use window leveling, if the original dicom file is 24 bit RGB dicom. DicomImage *di = new DicomImage(...) DicomImage *image = di->CreateMonochromeImage(...) delete di; di = image; di->setWindow(wCenter,wWidth); di->createWindowsDIB(...
by winstondcm
Sat, 2010-04-17, 10:08
Forum: DCMTK - General
Topic: window leveling
Replies: 4
Views: 6729

hi

i don't know whether it's DCMTK not support windows leveling on RGB color dicom or, the dicom standard says that. since i found Sante DICOM viewer can adjust window center/width when displaying RGB color image.


can you give me some explanation...

thanks a lot..

winston
by winstondcm
Sat, 2010-04-17, 09:53
Forum: DCMTK - General
Topic: about windows center and windows width
Replies: 12
Views: 16332

hi

hi, Jorg thank you for answering my question. but, today, i found using Sante DICOM Viewer, it can adjust window center/width even to RGB color dicom file.. why is it so? really.. i read several post here, and also you said. window leveling only works for monochrom dicom.. but i save a 24 bit RGB co...
by winstondcm
Tue, 2010-04-13, 16:12
Forum: DCMTK - General
Topic: tool img2dcm not useful for gray level image with BMP format
Replies: 6
Views: 7916

thank you

thank you, sir.

by "no real graylevel BMP " in dicom, you mean, the LUT is linear, so the image displayed is gray, "there is always color involved", refers to LUT?

thank you very much.

winston.
by winstondcm
Tue, 2010-04-13, 14:30
Forum: DCMTK - General
Topic: tool img2dcm not useful for gray level image with BMP format
Replies: 6
Views: 7916

tool img2dcm not useful for gray level image with BMP format

hi, dcmtk team: i found img2dcm tool can not use to convert graylevel BMP image to DCM, right? i tried today, it shows failure: img2dcm -i BMP -d gray8bit.bmp dcmfromgraybmp.dcm and i get: (with -debug chosen) D: I2DBmpSource: Plugin instantiated I: img2dcm: Instantiated input plugin: BMP D: I2DOutp...
by winstondcm
Mon, 2010-04-12, 11:39
Forum: DCMTK - General
Topic: about windows center and windows width
Replies: 12
Views: 16332

yes, sir. now i understand, and can set it so the outcome image has different display effect. i have another post, could you look it for me. that is, i have this GE ultrasound dicom file, i can measure distance in millimeter, but don't have pixelspacing tag.. how that can be? the thing is, i set thi...
by winstondcm
Mon, 2010-04-12, 10:46
Forum: DCMTK - General
Topic: about windows center and windows width
Replies: 12
Views: 16332

yes

throught experienment, i found there is no center/width changeable in RGB dicom file.. it only works in 8 bits graylevel dicom image.. even i created than the same way

it's that so? SetWindow(center, width) doesn't work for 24bit dicom image?


thank you very much.

winston