21 #ifndef IMG_ALG_NEGATE_HH
22 #define IMG_ALG_NEGATE_HH
27 namespace ost {
namespace img {
namespace alg {
32 template <
typename T,
class D>
33 void VisitState(ImageStateImpl<T,D>& isi)
const {
34 for(T* p = isi.Data().GetData(); p<isi.Data().GetEnd();++p) {
39 static String GetAlgorithmName() {
return "Negate";}
44 typedef ImageStateConstModIPAlgorithm<NegateFnc>
Negate;
ImageStateConstModIPAlgorithm< NegateFnc > Negate