20 #ifndef KJB_L_EW_DEFINED
21 #define KJB_L_EW_DEFINED
42 template<
class Indexable>
46 for(
int i = 0;
i < I.get_length();
i++)
57 template<
class Indexable>
60 for(
int i = 0;
i < I.get_length();
i++)
70 template<
class Indexable>
73 for(
int i = 0;
i < I.get_length();
i++)
83 template<
class Indexable>
95 template<
class Indexable>
98 for(
int i = 0;
i < I.get_length();
i++)
109 template<
class Indexable>
void ew_square_ow(Indexable &I)
Square the elements of an indexable class in place. I must be indexed via operator().
Definition: l_ew.h:71
void ew_abs_ow(Indexable &I)
Element-wise abosulte value.
Definition: l_ew.h:58
void ew_sqrt_ow(Indexable &I)
Take the square root of the elements of an indexable class in place. I must be indexed via operator()...
Definition: l_ew.h:96
Indexable ew_sqrt(const Indexable &I)
Take the square root the elements of an indexable class; the result is returned. I must be indexed vi...
Definition: l_ew.h:110
for I
Definition: APPgetLargeConnectedEdges.m:141
kjb_c::Pixel abs(const kjb_c::Pixel &p)
Take the channel-wise absolute value of a kjb_c::Pixel.
Definition: i_pixel.h:354
Indexable ew_multiply(const Indexable &I, const Indexable &J)
Multiply the elements of two Indexable things. Must be indexed via operator() and assignable...
Definition: l_ew.h:43
Indexable ew_square(const Indexable &I)
Square the elements of an indexable class; the result is returned. I must be indexed via operator()...
Definition: l_ew.h:84
get the indices of edges in each direction for i
Definition: APPgetLargeConnectedEdges.m:48