]> Creatis software - clitk.git/blobdiff - itk/clitkCropLikeImageFilter.txx
Add EPID conversion (2^16 - value)/alpha
[clitk.git] / itk / clitkCropLikeImageFilter.txx
index 74be28ef641a20ddce21c20569d26f7cb939d7b1..c92591256a6054414a249c46bb7743384f25227a 100644 (file)
@@ -110,6 +110,7 @@ GenerateOutputInformation() {
     likeStart = m_LikeImage->GetLargestPossibleRegion().GetIndex();
     likeOrigin = m_LikeImage->GetOrigin();
     likeSpacing = m_LikeImage->GetSpacing();
+    output->CopyInformation(m_LikeImage);
   }
   else {
     // Only load the header (allows to use 'like' with any image type)