IOLink IOL_v1.8.0_release
|
This factory is aimed at creating stack of ImageViews. More...
#include <iolink/view/MultiImageViewFactory.h>
Public Member Functions | |
MultiImageViewFactory (const MultiImageViewFactory &other)=delete | |
MultiImageViewFactory (MultiImageViewFactory &&other)=delete | |
MultiImageViewFactory & | operator= (const MultiImageViewFactory &other)=delete |
MultiImageViewFactory & | operator= (MultiImageViewFactory &&other)=delete |
Static Public Member Functions | |
static std::shared_ptr< MultiImageView > | create () |
Creates an empty MultiImageView. | |
static std::shared_ptr< MultiImageView > | create (std::initializer_list< std::shared_ptr< ImageView > > init) |
Creates an MultiImageView with given list of frames. | |
static std::shared_ptr< MultiImageView > | createFromList (std::shared_ptr< ImageView > *listImages, size_t count) |
Creates a MultiImageView with given list of frames. | |
static std::shared_ptr< MultiImageView > | unstack (std::shared_ptr< ImageView > imageView, size_t idxDimensionUnstack) |
Creates a MultiImageView from an ImageView ImageView (whose dimension is greater than 2) is unstacked according to given dimension into a MultiImageView. | |
static std::shared_ptr< MultiImageView > | unstack (std::shared_ptr< ImageView > imageView, ImageDimension dimension) |
Creates a MultiImageView from an ImageView ImageView (whose dimension is greater than 2) is unstacked according to given dimension into a MultiImageView. | |
static std::shared_ptr< MultiImageView > | deinterlace (std::shared_ptr< ImageView > imageView) |
Creates a MultiImageView from an ImageView, containing as many ImageViews as there are channels in original Image (one by channel). | |
This factory is aimed at creating stack of ImageViews.
|
static |
Creates an MultiImageView with given list of frames.
|
static |
Creates a MultiImageView with given list of frames.
listImages | pointer on first array of ImageView to add in MultiImageView |
count | elements count in given array |
|
static |
Creates a MultiImageView from an ImageView, containing as many ImageViews as there are channels in original Image (one by channel).
i.e. ImageView RGB => MultiImageView of 3 ImageViews (ImageView RED, ImageView GREEN, ImageView BLUE)
imageView | ImageView which must be deinterlaced |
InvalidArgument | if input image is null |
Error | if given ImageView has invalid properties |
|
static |
Creates a MultiImageView from an ImageView ImageView (whose dimension is greater than 2) is unstacked according to given dimension into a MultiImageView.
i.e. ImageView 3D (XYZ) === unstack according to Y ==> MultiImageView containing Y ImageViews (XZ)
imageView | ImageView whose dimension is greater than 2 |
dimension | ImageDimension to unstack |
InvalidArgument | if input image is null |
Error | if dimension is not contained into ImageView |
Error | if given ImageView has invalid properties |
|
static |
Creates a MultiImageView from an ImageView ImageView (whose dimension is greater than 2) is unstacked according to given dimension into a MultiImageView.
i.e. ImageView 3D (XYZ) === unstack according to Y ==> MultiImageView containing Y ImageViews (XZ)
imageView | ImageView whose dimension is greater than 2 |
idxDimensionUnstack | index of dimension used for unstacking |
InvalidArgument | if input image is null |
Error | if given ImageView has invalid properties |