Search found 16 matches
- Fri, 2017-07-28, 08:55
- Forum: DCMTK - General
- Topic: Extract HBITAMP from multiframe dcm
- Replies: 3
- Views: 3179
Re: Extract HBITAMP from multiframe dcm
Kindly thank you, that is how I solved the task: I saved bitmap files, and extract from them HBITMAP structure.
- Thu, 2017-07-27, 07:50
- Forum: DCMTK - General
- Topic: Extract HBITAMP from multiframe dcm
- Replies: 3
- Views: 3179
Re: Extract HBITAMP from multiframe dcm
Or, how can I save every frame from multi-frame DICOM file ? Because if I will achieve this, I will get every HBITMAP from saved files, and make an .avi from that files ...
- Wed, 2017-07-26, 10:05
- Forum: DCMTK - General
- Topic: Extract HBITAMP from multiframe dcm
- Replies: 3
- Views: 3179
Extract HBITAMP from multiframe dcm
Hi all of you. Can you tell me if there is a way to extract HBITMAP from an multiframe DICOM file, in order to make a avi file ?
Thank you for any hint/help.
Regards,
Thank you for any hint/help.
Regards,
- Wed, 2016-12-21, 10:18
- Forum: DCMTK - General
- Topic: DCM_WindowCenter NULL
- Replies: 11
- Views: 10283
Re: DCM_WindowCenter NULL
Forgive my ignorance, I will try your advice.
- Tue, 2016-12-20, 14:56
- Forum: DCMTK - General
- Topic: DCM_WindowCenter NULL
- Replies: 11
- Views: 10283
Re: DCM_WindowCenter NULL
I also tried: DcmItem* pItem = NULL; if(pDS->findAndGetSequenceItem(DCM_SharedFunctionalGroupsSequence, pItem).good()) // if(pDS->findAndGetSequenceItem(DCM_Item, pItem).good()) if(pDS->findAndGetSequenceItem(DCM_FrameVOILUTSequence, pItem).good()) if(pDS->findAndGetSequenceItem(DCM_Item, pItem).goo...
- Tue, 2016-12-20, 14:49
- Forum: DCMTK - General
- Topic: DCM_WindowCenter NULL
- Replies: 11
- Views: 10283
Re: DCM_WindowCenter NULL
Thank again ! I have found the real window/level, and I understand how to retrieve it: DcmItem* pItem = NULL; if(pDS->findAndGetSequenceItem(DCM_SharedFunctionalGroupsSequence, pItem).good()) if(pDS->findAndGetSequenceItem(DCM_Item, pItem).good()) if(pDS->findAndGetSequenceItem(DCM_FrameVOILUTSequen...
- Tue, 2016-12-20, 13:14
- Forum: DCMTK - General
- Topic: DCM_WindowCenter NULL
- Replies: 11
- Views: 10283
Re: DCM_WindowCenter NULL
I have found with dcmdump following tags: (0028,9132) SQ (Sequence with explicit length #=1) # 96, 1 FrameVOILUTSequence (fffe,e000) na (Item with explicit length #=4) # 88, 1 Item (0028,1050) DS [2803\2869\2707] # 14, 3 WindowCenter (0028,1051) DS [1250\1000\1500] # 14, 3 WindowWidth (0028,1055) LO...
- Tue, 2016-12-20, 12:55
- Forum: DCMTK - General
- Topic: DCM_WindowCenter NULL
- Replies: 11
- Views: 10283
Re: DCM_WindowCenter NULL
The strange thing is that when DCM_WindowWidth and DCM_WindowCenter is NULL then DCM_VOILUTFunction, DCM_VOILUTSequence, DCM_LUTDescriptor, DCM_LUTExplanation, DCM_LUTData, DCM_FrameVOILUTSequence are all NULL ... I have to dig in ...
- Tue, 2016-12-20, 08:49
- Forum: DCMTK - General
- Topic: DCM_WindowCenter NULL
- Replies: 11
- Views: 10283
Re: DCM_WindowCenter NULL
Kindly thank you for your concern. I have teste what you said, and here is the results: DCM_SOPClassUID: 1.2.840.10008.5.1.4.1.1.13.1.3 DCM_SOPInstanceUID: 1.2.276.0.69.22.29.3056.2500.20161208120518563282.41 DCM_SequenceName: NULL DCM_ProtocolName: 3D_ROUTINE DCM_DataSetName: NULL DCM_ProductName: ...
- Mon, 2016-12-19, 13:04
- Forum: DCMTK - General
- Topic: DCM_WindowCenter NULL
- Replies: 11
- Views: 10283
DCM_WindowCenter NULL
I have some series mamo, which are multiframe, and DCM_WindowCenter and DCM_WindowWidth are read NULL ... what values should I put into my app in order to see the image correctly ? Before I read DCM_WindowCenter NULL, I have read getMinMaxValues, which is 4096 ... also, I read other tags, like DCM_V...
- Mon, 2016-12-19, 12:03
- Forum: DCMTK - General
- Topic: DcmFileFormat saveFile crash
- Replies: 5
- Views: 5172
Re: DcmFileFormat saveFile crash
Thank you for all your support. I have found the problem: the (old) reading code had tried to convert dataset into dcmfileformat, and then this dcmfileformat read the file ... and doing that, I have that crashing. Once as I read the file with the original dataset, everything seem to be alright.
- Thu, 2016-12-15, 15:52
- Forum: DCMTK - General
- Topic: DcmFileFormat saveFile crash
- Replies: 5
- Views: 5172
Re: DcmFileFormat saveFile crash
can you see what is pointing to NULL, the variable fValue? Yes, the fValues has NULL value. Are you on a 32 bit system? No, I am running on 64 bit system. Did you change the transfer syntax of the file in memory Not at all. Has there been any error or warning output on the logger, anything special ...
- Thu, 2016-12-15, 15:07
- Forum: DCMTK - General
- Topic: DcmFileFormat saveFile crash
- Replies: 5
- Views: 5172
DcmFileFormat saveFile crash
I am struggling to save dcm file from DcmDataset to file to disk. How I try that: DcmFileFormat FileFormat; FileFormat.saveFile(strFilePath, pDS->getOriginalXfer()); where pDS is the dataset. The dataset is retrieved from a PACS server an has 1.8 GB files as dcm multiframe. But at some point, I get ...
- Thu, 2016-12-15, 12:50
- Forum: DCMTK - General
- Topic: Read multiframe series
- Replies: 3
- Views: 3720
Re: Read multiframe series
Sorry for unclear statement, meanwhile, I have solved the issue. [The application could read multiframe dicom files after all, but after some under "not on front" settings). Thank you for your attention.
- Tue, 2016-12-13, 14:14
- Forum: DCMTK - General
- Topic: Read multiframe series
- Replies: 3
- Views: 3720
Re: Read multiframe series
I have found the way to read how may frame are into series: DicomImage pImage = new DicomImage(...); do { TRACE(">>>%d\t%d\n", pImage->getFirstFrame(), pImage->getFrameCount()); } while(pImage->processNextFrames()); my question is, how can I "convert" this into DICOM image in ord...