Resize
======
Changes an image's size (pixels, or a scale when both are 0).
``resize`` · opencv
.. raw:: html
Resizefn
width0
height0
scale1
interpolationlinear
Inputs
------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``image``
- image
- —
- —
Outputs
-------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``image``
- image
- —
- —
Parameters
----------
.. list-table::
:header-rows: 1
* - Param
- Type
- Default
- Options or unit
* - ``width``
- number
- ``0.0``
- —
* - ``height``
- number
- ``0.0``
- —
* - ``scale``
- number
- ``1.0``
- —
* - ``interpolation``
- enum
- ``"linear"``
- ``linear``, ``nearest``, ``cubic``, ``area``