#include <ImageProcessor.hpp>
Collaboration diagram for ImageProcessorArgs< ImageType >:
Public Member Functions | |
ImageProcessorArgs (const vector< ImageArg< ImageType, const ImageType > > &srcs, ImageArg< ImageType > dest) | |
void | AddSrc (ImArgCst arg) |
Adds another source image argument. | |
void | AddDest (ImArg arg) |
Adds another destination image argument. | |
void | SameSize () |
void | SetDestSize (Size3D size) |
void | InPlace () |
void | AllSameSizeAssert () |
Asserts that all images (srcs AND dests) have the same size. | |
void | NoMasksAssert () |
void | UseLargerSrcBounds () |
ImageType & | GetDest (int argn=0) |
Get the nth destination image you should use in your algorithm. | |
const ImageType & | GetSrc (int argn=0) |
Get the nth source image, resized if UseLargerSrcBounds. | |
void | Finished () |
Call this when algorithm is finished. | |
Private Types | |
typedef ImageArg< ImageType, ImageType > | ImArg |
typedef ImageArg< ImageType, const ImageType > | ImArgCst |
Private Attributes | |
bool | useLargerSrcBounds |
Size3D | bounds |
vector< ImArgCst > | srcArgs |
vector< ImArg > | destArgs |
Internal ImageProcessor, image argument handling, this is used for checking if image arguments to an ImageProcessor have correct properties ( correct size, correctly masked ... ) and for creating temporary images if dest==src ...
Definition at line 91 of file ImageProcessor.hpp.
|
Call this when algorithm is finished. This copies back all dulpicated destination temporary images into the final destination images if needed Definition at line 151 of file ImageProcessor.hxx. |