kornia.geometry.transform
=========================
.. currentmodule:: kornia.geometry.transform
The functions in this section perform various geometrical transformations of 2D images.
Warp operators
--------------
.. autofunction:: warp_perspective
.. autofunction:: warp_perspective3d
.. autofunction:: warp_affine
.. autofunction:: warp_affine3d
.. autofunction:: warp_image_tps
.. autofunction:: warp_points_tps
.. autofunction:: warp_grid
.. autofunction:: warp_grid3d
.. autofunction:: remap
Image 2d transforms
-------------------
.. autofunction:: affine
.. autofunction:: rotate
.. autofunction:: translate
.. autofunction:: scale
.. autofunction:: shear
.. autofunction:: hflip
.. autofunction:: vflip
.. autofunction:: rot180
.. autofunction:: resize
.. autofunction:: rescale
.. autofunction:: elastic_transform2d
.. autofunction:: pyrdown
.. autofunction:: pyrup
.. autofunction:: build_pyramid
.. autofunction:: build_laplacian_pyramid
.. autofunction:: upscale_double
Matrix transformations
----------------------
.. autofunction:: get_perspective_transform
.. autofunction:: get_perspective_transform3d
.. autofunction:: get_projective_transform
.. autofunction:: get_rotation_matrix2d
.. autofunction:: get_shear_matrix2d
.. autofunction:: get_shear_matrix3d
.. autofunction:: get_affine_matrix2d
.. autofunction:: get_affine_matrix3d
.. autofunction:: invert_affine_transform
.. autofunction:: projection_from_Rt
.. autofunction:: get_tps_transform
Crop operators
--------------
.. autofunction:: crop_by_indices
.. autofunction:: crop_by_boxes
.. autofunction:: center_crop
.. autofunction:: crop_and_resize
Module
------
.. autoclass:: Rotate
.. autoclass:: Translate
.. autoclass:: Scale
.. autoclass:: Shear
.. autoclass:: PyrDown
.. autoclass:: PyrUp
.. autoclass:: ScalePyramid
.. autoclass:: Hflip
.. autoclass:: Vflip
.. autoclass:: Rot180
.. autoclass:: Resize
.. autoclass:: Rescale
.. autoclass:: Affine
.. autoclass:: HomographyWarper
Image registration
------------------
.. image:: _static/img/registration.gif
:width: 400
:alt: Image registration with ImageRegistrator module
.. automodule:: kornia.geometry.transform.image_registrator
:members:
Interactive Demo
----------------
.. raw:: html
.. raw:: html