diff --git a/rtengine/guidedfilter.h b/rtengine/guidedfilter.h index d66396c6a..2d8b70369 100644 --- a/rtengine/guidedfilter.h +++ b/rtengine/guidedfilter.h @@ -20,11 +20,12 @@ #pragma once -#include "array2D.h" +template class array2D; namespace rtengine { + void guidedFilter(const array2D &guide, const array2D &src, array2D &dst, int r, float epsilon, bool multithread, int subsampling=0); } // namespace rtengine diff --git a/rtengine/iplabregions.cc b/rtengine/iplabregions.cc index 1768101c8..6526419f5 100644 --- a/rtengine/iplabregions.cc +++ b/rtengine/iplabregions.cc @@ -18,6 +18,7 @@ * along with RawTherapee. If not, see . */ +#include "array2D.h" #include "color.h" #include "curves.h" #include "guidedfilter.h" diff --git a/rtengine/ipshadowshighlights.cc b/rtengine/ipshadowshighlights.cc index a602c5460..5c5b6b324 100644 --- a/rtengine/ipshadowshighlights.cc +++ b/rtengine/ipshadowshighlights.cc @@ -20,6 +20,7 @@ #include "improcfun.h" +#include "array2D.h" #include "color.h" #include "curves.h" #include "gauss.h" diff --git a/rtengine/pipettebuffer.h b/rtengine/pipettebuffer.h index 79b6dd8c5..6f017a196 100644 --- a/rtengine/pipettebuffer.h +++ b/rtengine/pipettebuffer.h @@ -18,7 +18,6 @@ */ #pragma once -#include "array2D.h" #include "iimage.h" class EditDataProvider;