jpr [Tue, 3 Jan 2006 14:28:53 +0000 (14:28 +0000)]
Refine message displaying. Now, we have :
* Warning : Warns the user when some oddity occured, and we used an heuristics
* to bypass the trouble.
* e.g. : SamplesPerPixel missing, we assume it's a grey level image
* e.g : Pixel Representation missing : we assume 'unsigned'
* (we hope our assumption is OK, but user may disagree.)
* Log : we display messages when anything is not Dicom Kosher
* e.g. : non even length field
* e.g : file is declared as Explicit VR, but a DataElement
* is Implicit
* e.g : a file holds an illegal group (0x0005, ...)
* Debug : We help developper to trace, at a glance, the execution.
(before refining with a debugging tool)
* Setting ON Debug leads to set ON Warning (but not Log)
* Setting ON Log leads to set ON Warning (but not Debug)
jpr [Wed, 21 Dec 2005 14:48:09 +0000 (14:48 +0000)]
- void AddSeriesDetail(uint16_t group, uint16_t elem, bool convert);
has a new bool param : convert, to tell wether we want 'convertion',
to allow further ordering
e.g : 100 would be *before* 20; 000020.00 vs 00100.00 : OK
- std::string CreateUserDefinedFileIdentifier( File * inFile );
allows user to build a Tokenizable and sortable File identifier of his own.
(user knows more than we do about his files)
jpr [Fri, 16 Dec 2005 13:48:46 +0000 (13:48 +0000)]
New method SerieHelper::AddSeriesDetail() to allow user to specifiy
his own Tags Of Interest,
that will be used in SerieHelper::CreateUniqueSeriesIdentifier.
Mathieu's default ones are not enought for 'Tagging' series.
jpr [Fri, 9 Dec 2005 12:54:05 +0000 (12:54 +0000)]
Since vtkImageViewer and vtkImageViewer2 don't behave the same way, I add
vtkgdcmSerieViewer2 (I keep vtkgdcmSerieViewer, user will choose the one he
likes more !)
jpr [Fri, 9 Dec 2005 12:22:49 +0000 (12:22 +0000)]
File::GetImageOrientationPatient now acts as follow :
/**
* \brief gets the info from 0020,0037 : Image Orientation Patient
* or from 0020 0035 : Image Orientation (RET)
*
* (needed to organize DICOM files based on their x,y,z position)
*
* @param iop adress of the (6)float array to receive values.
* (defaulted as 1.,0.,0.,0.,1.,0. if nothing -or inconsistent stuff-
* is found.
* @return true when one of the tag -with consistent values- is found
* false when nothing or inconsistent stuff - is found
*/
jpr [Tue, 29 Nov 2005 17:21:33 +0000 (17:21 +0000)]
To prepare use of progression bar in all types of Document
- move CallStartMethod, etc to Document
- begin frame by frame reading (not finished : only for uncompressed files,
right now)
regrain [Mon, 28 Nov 2005 16:31:19 +0000 (16:31 +0000)]
* Improvement #2 : the CommandManager is now a static class so,
there is no inheritance from it. And thus, only one hash-table for all objects.
This will gain some of memory
-- BeNours
regrain [Mon, 28 Nov 2005 15:20:29 +0000 (15:20 +0000)]
* Add Command and CommandManager to have possible callback
on Error/Warning/Debug and too on Progression.
So more callback types can be added
* Change the gdcm::Debug macros to have the Command call
* Change the method names in gdcm::Debug to be more correct of their
goal
-- BeNours