[vtkusers] Heavy Bug in DICOMAppHelper.cxx?
    Dipl.-Ing. Helmut Steiner 
    office at shl.at
       
    Mon Oct  5 10:01:03 EDT 2009
    
    
  
Hi vtkusers!
 
Latest releases of vtk (starting from 5.2) have wrong vector product in
DICOMAppHelper.cxx. Am I wrong when I state, that the following calculation
makes right bodyparts look like left ones (dangerous thing
)?
Existing code is under comment, SHL  Patch is in lines following.
 
 //*****************************************************************
        //normal[1] = ((*sn_iter).second.ImageOrientationPatient[0]
        //             *(*sn_iter).second.ImageOrientationPatient[5])
        //  - ((*sn_iter).second.ImageOrientationPatient[2]
        //     * (*sn_iter).second.ImageOrientationPatient[3]);
       //*****************************************************************
        normal[1] = ((*sn_iter).second.ImageOrientationPatient[2]
                     *(*sn_iter).second.ImageOrientationPatient[3])
          - ((*sn_iter).second.ImageOrientationPatient[0]
             * (*sn_iter).second.ImageOrientationPatient[5]);
       //*****************************************************************
 
Mfg
Helmut Steiner
 
cid:image001.jpg at 01C9D5CC.9F177890
*********************************************************
* SHL - Solutions for Healthcare and Life-Sciences GmbH *
* Bahnstraße 58,  A-3481 Fels am Wagram,  Österreich    *
* Firmenbuch Nr.: 276073 s                              *
* Web:    <http://www.shl.at/> www.shl.at
*
* Email:  <mailto:office at shl.at> office at shl.at
*
*********************************************************
* DISCLAIMER                                            *
* This eMail may contain confidential and/or            *
* privileged information. If you are not the            *
* intended recipient (or have received this eMail       *
* in error) please notify the sender immediately        *
* and destroy this eMail. Any unauthorised              *
* copying, disclosure or distribution of the            *
* material in this eMail is strictly forbidden.         *
*********************************************************
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091005/7aa6e0aa/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3385 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091005/7aa6e0aa/attachment.jpeg>
    
    
More information about the vtkusers
mailing list