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?
Search found 15 matches
- Thu, 2009-07-23, 05:17
- Forum: DCMTK - General
- Topic: Slice Thickness vs Slice Spacing
- Replies: 4
- Views: 16314
- Tue, 2009-07-21, 19:59
- Forum: DCMTK - General
- Topic: Slice Thickness vs Slice Spacing
- Replies: 4
- Views: 16314
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 ...
- 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(); ...
- Fri, 2009-01-30, 16:15
- Forum: DCMTK - General
- Topic: Blur image when using dcm2pnm
- Replies: 2
- Views: 3099
- Fri, 2009-01-30, 12:53
- Forum: DCMTK - General
- Topic: Blur image when using dcm2pnm
- Replies: 2
- Views: 3099
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...
- Mon, 2008-05-05, 08:42
- Forum: DCMTK - General
- Topic: Load file problem!
- Replies: 6
- Views: 7314
- Sat, 2008-03-15, 12:51
- Forum: DCMTK - General
- Topic: Order of Memory release
- Replies: 2
- Views: 3639
- Thu, 2008-03-13, 14:02
- Forum: DCMTK - General
- Topic: Order of Memory release
- Replies: 2
- Views: 3639
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 ,...); ...
- Thu, 2008-01-31, 17:04
- Forum: DCMTK - General
- Topic: Load file problem!
- Replies: 6
- Views: 7314
- Thu, 2008-01-31, 09:52
- Forum: DCMTK - General
- Topic: Load file problem!
- Replies: 6
- Views: 7314
- Mon, 2008-01-28, 06:49
- Forum: DCMTK - General
- Topic: Load file problem!
- Replies: 6
- Views: 7314
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)...
- Thu, 2008-01-24, 17:14
- Forum: DCMTK - General
- Topic: unresolved external symbol DcmFileFormat()
- Replies: 5
- Views: 7674
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)...
- Thu, 2008-01-24, 15:20
- Forum: DCMTK - General
- Topic: unresolved external symbol DcmFileFormat()
- Replies: 5
- Views: 7674
- Wed, 2008-01-23, 06:02
- Forum: DCMTK - General
- Topic: unresolved external symbol DcmFileFormat()
- Replies: 5
- Views: 7674
- Tue, 2008-01-22, 05:38
- Forum: DCMTK - General
- Topic: unresolved external symbol DcmFileFormat()
- Replies: 5
- Views: 7674
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...