[Dcmlib] [Fwd: Images axial acquisition order]
luca.picello at libero.it
Sun Jul 17 09:14:40 CEST 2005
It's wonderful JP. I'd really like to help you more on writing the
sources but I may need some more docs.
About my latest problem here a screenshort where you can understand it well.
Here I rendered the volume with VTK but as you can see the X axis for
this patient is swapped left with right.
Information from one slice:
Patient Position : HFS.
Patient Orientation : L\P.
If you need it for testing pourposes, let me know.
Jean-Pierre ROUX wrote:
> At 13:58 +0200 16/07/05, Luca Picello wrote:
>> Hello everybody again,
>> I wonder if with vtkGdcmReader I can read images with correct axial
>> acquisition order.
>> I observe I have right swapped with left in my image datas...
>> it's really nasty and I feel it's similar to yesterday's reported issue
>> we do need absolutely SerieHelper in vtkGdcmReader asap :-(
> Hi, everybody.
> I just finished testing a new feature for vtkGdcmReader.
> We can now :
> gdcmSerieHelper *sh = new gdcmSerieHelper();
> sh->SetDirectory(myImageDirectory, true);
> gdcmFileList *l = s->GetFirstCoherentFileList();
> vtkGdcmReader *gr = new vtkGdcmReader();
> This works with a directory that contains only one 'Serie' (same Serie
> UID for all the images).
> If it contains more than one serie, you'll have to loop on the Series,
> (That's why gdcm::SerieHelper is used outside of vtkGdcmReader, not
> PS :
> OrderFileList orders the images :
> - on the 'Image Position Patient'
> if it's not found or if there are more than one image at the same
> - on Image Number
> if image numbers are not coherent,
> - on the file names :-(
> We can easyly add more sorting conditions.
> I'll commit it soon.
> I don't understand the pb with write/left swapping in images ?
>> Dcmlib mailing list
>> Dcmlib at creatis.insa-lyon.fr
> Jean-Pierre ROUX
> CREATIS - CNRS UMR 5515, INSERM U 630
> Laboratoire de Radiologie Experimentale
> Hopital Cardiologique
> 28 Avenue du Doyen LEPINE
> B.P. Lyon-Montchat
> 69394 Lyon Cedex 03
> Tel : (+33) 04 72 35 74 12
> Fax : (+33) 04 72 68 49 16
> URL : http://www.creatis.univ-lyon1.fr
> e-mail : jpr at creatis.univ-lyon1.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11686 bytes
Desc: not available
More information about the Dcmlib