Simple class to resize images.
This class resizes the image to given size. If you want to resize only in certain dimensions, leave the values of the unneeded ranges at [0:0].Absolute values of the given roi are of no interest. Only their differences (i.e. width, height, etc) matter.Channels (i.e. list element index) are not resized.
input slots | |
| InputSlot< CImgList< T > > | in |
| image data input slot | |
| InputSlot< Roi< int > * > | roi |
| new size (only width, height etc are considered) | |
output slots | |
| OutputSlot< CImgList< T > > | out |
| image data output slot | |
parameters | |
| Parameter< bool > | x |
| select dimensions to resize | |
| Parameter< bool > | y |
| select dimensions to resize | |
| Parameter< bool > | z |
| select dimensions to resize | |
| Parameter< bool > | t |
| select dimensions to resize | |
| Parameter< int > | method |
| Interpolation method. | |
| Parameter< float > | preBlurFactor |
| control blur strength on image size reduction | |
| Parameter< bool > | rescaleUsingRoiInRatio |
| if set, rescales values using ratio "roi" dimensions / "in" dimensions | |
| Parameter< float > | scaling |
| scaling parameter | |
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.