comparison Core/ImageFormats/ImageAccessor.h @ 983:80d4f1618b33 plugins

Sample plugin to replace DCMTK by GDCM when decoding images
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 01 Jul 2014 12:01:58 +0200
parents 87791ebc1f50
children 6e7e5ed91c2d
comparison
equal deleted inserted replaced
982:5983e59ac670 983:80d4f1618b33
60 PixelFormat GetFormat() const 60 PixelFormat GetFormat() const
61 { 61 {
62 return format_; 62 return format_;
63 } 63 }
64 64
65 unsigned int GetBytesPerPixel() const
66 {
67 return ::Orthanc::GetBytesPerPixel(format_);
68 }
69
65 unsigned int GetWidth() const 70 unsigned int GetWidth() const
66 { 71 {
67 return width_; 72 return width_;
68 } 73 }
69 74