Simple class to display images.
This class displays the image read from the input slot to the user using cimg display commands. it does not perform any image conversion, but you can select slices (3rd CImg dimension, dimz), channels (4th CImg dimension, dimv) and frames (element number in the image list).To display color images, it could be necessary to reorder dimensions (e.g. using the ChannelConverter plugin), if the color channels are arranged in the 5th dimension.
input slots | |
InputSlot< CImgList< T > > | in |
image data as input slot | |
output slots | |
parameters | |
Parameter< int > | channel |
select channel to display | |
Parameter< unsigned int > | frame |
select frame to display | |
Parameter< unsigned int > | height |
Display height. | |
Parameter< unsigned int > | slice |
select slice to display | |
Parameter< std::string > | title |
Display title. | |
Parameter< unsigned int > | wait |
Display time (in milliseconds). | |
Parameter< unsigned int > | width |
Display width. |
This Module subclasses TemplatedParameteredObject< T >.
For documentation of parameters and slots inherited by this base class,
please have a look at the corresponding Module reference.
This module is templated. There are instances with T=int,float,double.
An additional parameter called templatetype
may be used to select which instantiation you want.
The detailed doxygen documentation beyond the parameters/slots may be found here.