Skip to content
Snippets Groups Projects
Commit c7374ab4 authored by Aurélien Bricier's avatar Aurélien Bricier
Browse files

ENH: enabled distinguishing between PixelType and OutputPrecision

parent 064d7bf0
No related branches found
No related tags found
No related merge requests found
...@@ -107,9 +107,10 @@ public: ...@@ -107,9 +107,10 @@ public:
template <class TInputImage> template <class TInputImage>
void AddImage(TInputImage * image) void AddImage(TInputImage * image)
{ {
typedef TInputImage InputImageType; typedef TInputImage InputImageType;
typedef Image<ValueType, 2> ImageType; typedef typename InputImageType::InternalPixelType InternalPixelType;
typedef Image<InternalPixelType, 2> ImageType;
//Mono-Channel Factories //Mono-Channel Factories
typedef LocalHistogramIFFactory<ImageType, typedef LocalHistogramIFFactory<ImageType,
CoordRepType, TPrecision> LocalHistogramIFFactoryType; CoordRepType, TPrecision> LocalHistogramIFFactoryType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment