21 #ifndef IMG_ALG_COMMON_CONJ_HH
22 #define IMG_ALG_COMMON_CONJ_HH
28 namespace ost {
namespace img {
namespace alg {
34 void do_conj_ip(image_state::ValueHolder<V>& vh);
38 void do_conj_ip<Complex>(image_state::ValueHolder<Complex>& vh)
40 for(
Complex* it=vh.GetData();it!=vh.GetEnd();++it) {
41 (*it) = std::conj(*it);
47 void do_conj_ip(image_state::ValueHolder<V>& vh) {}
52 template <
typename T,
class D>
54 do_conj_ip(isi.Data());
60 typedef ImageStateConstModIPAlgorithm<ConjFnc>
Conj;