Go to the documentation of this file.
18 #ifndef sitkImageOperators_h
19 #define sitkImageOperators_h
47 return Add(img1, img2);
52 return Add(std::move(img1), img2);
62 return Add(std::move(img), s);
77 return Subtract(std::move(img1), img2);
102 return Multiply(std::move(img1), img2);
122 return Divide(img1, img2);
127 return Divide(std::move(img1), img2);
137 return Divide(std::move(img), s);
152 return Modulus(std::move(img1), img2);
162 return Modulus(std::move(img), s);
196 return And(img1, img2);
201 return And(std::move(img1), img2);
211 return And(std::move(img), s);
222 return Or(img1, img2);
227 return Or(std::move(img1), img2);
237 return Or(std::move(img), s);
248 return Xor(img1, img2);
253 return Xor(std::move(img1), img2);
263 return Xor(std::move(img), s);
371 #endif // sitkImageOperators_h
The Image class for SimpleITK.
Image & operator|=(Image &img1, const Image &img2)
Performs the operator on a per pixel basis.
Image Modulus(Image &&image1, const Image &image2)
Computes the modulus (x % dividend) pixel-wise.
Image operator%(const Image &img1, const Image &img2)
Performs the operator on a per pixel basis.
Image Subtract(Image &&image1, const Image &image2)
Pixel-wise subtraction of two images.
Image operator|(const Image &img1, const Image &img2)
Performs the operator on a per pixel basis.
Image & operator^=(Image &img1, const Image &img2)
Performs the operator on a per pixel basis.
Image Or(Image &&image1, const Image &image2)
Implements the OR bitwise operator pixel-wise between two images.
Image operator~(const Image &img)
Performs the operator on a per pixel basis.
Image operator^(const Image &img1, const Image &img2)
Performs the operator on a per pixel basis.
Image Add(Image &&image1, const Image &image2)
Pixel-wise addition of two images.
Image Xor(Image &&image1, const Image &image2)
Computes the XOR bitwise operator pixel-wise between two images.
Image & operator*=(Image &img1, const Image &img2)
Performs the operator on a per pixel basis.
Image BitwiseNot(Image &&image1)
Implements pixel-wise generic operation on one image.
Image Multiply(Image &&image1, const Image &image2)
Pixel-wise multiplication of two images.
Image & operator&=(Image &img1, const Image &img2)
Performs the operator on a per pixel basis.
Image Divide(Image &&image1, const Image &image2)
Pixel-wise division of two images.
Image operator/(const Image &img1, const Image &img2)
Performs the operator on a per pixel basis.
Image & operator/=(Image &img1, const Image &img2)
Performs the operator on a per pixel basis.
Image And(Image &&image1, const Image &image2)
Implements the AND bitwise operator pixel-wise between two images.
Image operator&(const Image &img1, const Image &img2)
Performs the operator on a per pixel basis.
Image ProxyForInPlaceOperation()
Advanced method not commonly needed.
Image & operator%=(Image &img1, const Image &img2)
Performs the operator on a per pixel basis.
Image & operator-=(Image &img1, const Image &img2)
Performs the operator on a per pixel basis.
Image & operator+=(Image &img1, const Image &img2)
Performs the operator on a per pixel basis.
Image UnaryMinus(Image &&image1)
Implements pixel-wise generic operation on one image.
Image operator-(const Image &img1, const Image &img2)
Performs the operator on a per pixel basis.
Image operator+(const Image &img1, const Image &img2)
Performs the operator on a per pixel basis.
Image operator*(const Image &img1, const Image &img2)
Performs the operator on a per pixel basis.