Search found 15 matches

by quyps
Thu, 2009-07-23, 05:17
Forum: DCMTK - General
Topic: Slice Thickness vs Slice Spacing
Replies: 4
Views: 16274

Thanks for reply,

Yes, I'm using Slice Thickness as Z-spacing.
I'm just curious to know what is the difference between Slice Thickness and Spacing Between Slice? What if both of them being set?
by quyps
Tue, 2009-07-21, 19:59
Forum: DCMTK - General
Topic: Slice Thickness vs Slice Spacing
Replies: 4
Views: 16274

Slice Thickness vs Slice Spacing

Hi all, I have a set of single frame Dicom file, i want to merge all these file in to a single dataset. I know the spacing along each direction is different. Using Pixel Spacing I can get spacing along X and Y axis. For the Z-spacing, i however found two elements: (0018,0088) Spacing Between Slices ...
by quyps
Mon, 2009-06-15, 15:35
Forum: DCMTK - General
Topic: DicomImage::getDepth() ??
Replies: 1
Views: 3118

DicomImage::getDepth() ??

Hi all! I used DicomImage::getDepth() function to get number of bits per sample. I found out that the return value always increases 1. For instance, if my image's number of bits per pixel is 12, getDepth() function will returns 13. Here is a piece of code DcmFileFormat *dfile = new DcmFileFormat(); ...
by quyps
Fri, 2009-01-30, 16:15
Forum: DCMTK - General
Topic: Blur image when using dcm2pnm
Replies: 2
Views: 3096

thanks you Jörg, that's exactly it.
by quyps
Fri, 2009-01-30, 12:53
Forum: DCMTK - General
Topic: Blur image when using dcm2pnm
Replies: 2
Views: 3096

Blur image when using dcm2pnm

Hi all! i'm new of DCMTK, I try to convert DICOM images to general image format such as .bmp using dcm2pnm as following: dcm2pnm +obt <input file> <outputfile> the output image is very blur . When i use other tools (synedra View Personal, or MRICro viewer) to view the .DCM image is pretty clear. How...
by quyps
Mon, 2008-05-05, 08:42
Forum: DCMTK - General
Topic: Load file problem!
Replies: 6
Views: 7313

i misunderstood FAQ's guide, everything right, thank you for your devoted support!
by quyps
Sat, 2008-03-15, 12:51
Forum: DCMTK - General
Topic: Order of Memory release
Replies: 2
Views: 3636

Thank you for your reply!
i want to write a program to merge multi DICOM files (each files contain a frame of volume data). How should i approach?
by quyps
Thu, 2008-03-13, 14:02
Forum: DCMTK - General
Topic: Order of Memory release
Replies: 2
Views: 3636

Order of Memory release

Hi~! I write some code to read a DICOM file, it looks like this: CString str = fdlg.GetPathName(); char* pSZ = UnicodeToAnsi(str); DcmFileFormat *dfile = new DcmFileFormat(); OFCondition cond = dfile->loadFile(pSZ,...); //check condition and show msg ... DicomImage *di = new DicomImage(dfile ,...); ...
by quyps
Thu, 2008-01-31, 17:04
Forum: DCMTK - General
Topic: Load file problem!
Replies: 6
Views: 7313

hi! I found out and solved it, thank you very much. :)
by quyps
Thu, 2008-01-31, 09:52
Forum: DCMTK - General
Topic: Load file problem!
Replies: 6
Views: 7313

Jörg Riesmeier wrote:Is it a color image? The output of the DicomImage class in verbose/debug mode would be helpful.
This image is grayscale image.
its tested by "dcm2pnm +obt" command.
Which case does DicomImage.getStatus() return EIS_NotSupportedValue?

Thank for reply,
by quyps
Mon, 2008-01-28, 06:49
Forum: DCMTK - General
Topic: Load file problem!
Replies: 6
Views: 7313

Load file problem!

Hi ! I try to load a .dcm file by following code: if(oFileDlg.DoModal() == IDOK) { CString str = oFileDlg.GetPathName(); DcmFileFormat *dfile = new DcmFileFormat(); char* pz = (char*)str.GetBuffer(0); OFCondition cond = dfile->loadFile(str, EXS_Unknown,EGL_withoutGL,DCM_MaxReadLength,ERM_autoDetect)...
by quyps
Thu, 2008-01-24, 17:14
Forum: DCMTK - General
Topic: unresolved external symbol DcmFileFormat()
Replies: 5
Views: 7664

Can't load DICOM files!

Hi ! I try to load a .dcm file by following code: if(oFileDlg.DoModal() == IDOK) { CString str = oFileDlg.GetPathName(); DcmFileFormat *dfile = new DcmFileFormat(); char* pz = (char*)str.GetBuffer(0); OFCondition cond = dfile->loadFile(str, EXS_Unknown,EGL_withoutGL,DCM_MaxReadLength,ERM_autoDetect)...
by quyps
Thu, 2008-01-24, 15:20
Forum: DCMTK - General
Topic: unresolved external symbol DcmFileFormat()
Replies: 5
Views: 7664

Hi Marco! i solved it.
Thank you very much!
by quyps
Wed, 2008-01-23, 06:02
Forum: DCMTK - General
Topic: unresolved external symbol DcmFileFormat()
Replies: 5
Views: 7664

Hi Jörg! Thanks for your reply! i try to solve this problem as FAQ27 but i get err LNK2005, i looked into FAQ26 and set my project as its instruction, but this error is still appear libcpmt.lib(locale0.obj) : error LNK2005: "public: class std::locale::facet const * __thiscall std::locale::_Getf...
by quyps
Tue, 2008-01-22, 05:38
Forum: DCMTK - General
Topic: unresolved external symbol DcmFileFormat()
Replies: 5
Views: 7664

unresolved external symbol DcmFileFormat()

Hi all! I have a problem when i use dcmtk 3.5.4, it is built correctly by both VS6 and VS2008. But when i try to use load a DCM file using DcmFileFormat as following: CFileDialog oFileDlg(TRUE, NULL, NULL, OFN_OVERWRITEPROMPT, "DCM Files (*.dcm)|*.dcm|"); if(oFileDlg.DoModal() == IDOK) { C...