Various improvements to the dicom loader to be able to handle a broader range of dicom files
This commit is contained in:
@@ -126,6 +126,9 @@ extern OSGVOLUME_EXPORT bool computeMinMax(const osg::Image* image, osg::Vec4& m
|
||||
/** Compute the min max colour values in the image.*/
|
||||
extern OSGVOLUME_EXPORT bool offsetAndScaleImage(osg::Image* image, const osg::Vec4& offset, const osg::Vec4& scale);
|
||||
|
||||
/** Compute source image to destination image.*/
|
||||
extern OSGVOLUME_EXPORT bool copyImage(const osg::Image* srcImage, int src_s, int src_t, int src_r, int width, int height, int depth,
|
||||
osg::Image* destImage, int dest_s, int dest_t, int dest_r, bool doRescale = false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user