forked from TensorLayer/tensorlayer3
204 lines
3.2 KiB
ReStructuredText
204 lines
3.2 KiB
ReStructuredText
API - Vision
|
|
============
|
|
|
|
.. automodule:: tensorlayer.vision.transforms
|
|
|
|
.. -----------------------------------------------------------
|
|
.. Vision Transforms List
|
|
.. -----------------------------------------------------------
|
|
|
|
Vision Transforms list
|
|
----------------------
|
|
|
|
.. autosummary::
|
|
|
|
ToTensor
|
|
Compose
|
|
|
|
Crop
|
|
CentralCrop
|
|
RandomCrop
|
|
Pad
|
|
PadToBoundingbox
|
|
Resize
|
|
RandomResizedCrop
|
|
|
|
RgbToGray
|
|
HsvToRgb
|
|
RgbToHsv
|
|
|
|
AdjustBrightness
|
|
AdjustContrast
|
|
AdjustHue
|
|
AdjustSaturation
|
|
RandomBrightness
|
|
RandomContrast
|
|
RandomHue
|
|
RandomSaturation
|
|
ColorJitter
|
|
|
|
FlipHorizontal
|
|
FlipVertical
|
|
RandomFlipHorizontal
|
|
RandomFlipVertical
|
|
|
|
RandomRotation
|
|
RandomShift
|
|
RandomShear
|
|
RandomZoom
|
|
RandomAffine
|
|
|
|
Transpose
|
|
HWC2CHW
|
|
CHW2HWC
|
|
|
|
Normalize
|
|
StandardizePerImage
|
|
|
|
.. -----------------------------------------------------------
|
|
.. Vision Transforms
|
|
.. -----------------------------------------------------------
|
|
|
|
Vision Transforms
|
|
-----------------
|
|
|
|
ToTensor
|
|
^^^^^^^^^^^^^^^^
|
|
.. autoclass:: ToTensor
|
|
|
|
|
|
Compose
|
|
^^^^^^^^^^^^^^^^
|
|
.. autoclass:: Compose
|
|
|
|
Crop
|
|
^^^^^^^^^^^^^^^^
|
|
.. autoclass:: Crop
|
|
|
|
CentralCrop
|
|
^^^^^^^^^^^^^^^^
|
|
.. autoclass:: CentralCrop
|
|
|
|
RandomCrop
|
|
^^^^^^^^^^^^^^^^
|
|
.. autoclass:: RandomCrop
|
|
|
|
Pad
|
|
^^^^^^^^^^^^^^^^
|
|
.. autoclass:: Pad
|
|
|
|
PadToBoundingbox
|
|
^^^^^^^^^^^^^^^^
|
|
.. autoclass:: PadToBoundingbox
|
|
|
|
Resize
|
|
^^^^^^^^^^^^^^^^
|
|
.. autoclass:: Resize
|
|
|
|
RandomResizedCrop
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: RandomResizedCrop
|
|
|
|
RgbToGray
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: RgbToGray
|
|
|
|
HsvToRgb
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: HsvToRgb
|
|
|
|
RgbToHsv
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: RgbToHsv
|
|
|
|
AdjustBrightness
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: AdjustBrightness
|
|
|
|
AdjustContrast
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: AdjustContrast
|
|
|
|
AdjustHue
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: AdjustHue
|
|
|
|
AdjustSaturation
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: AdjustSaturation
|
|
|
|
RandomBrightness
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: RandomBrightness
|
|
|
|
RandomContrast
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: RandomContrast
|
|
|
|
RandomHue
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: RandomHue
|
|
|
|
RandomSaturation
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: RandomSaturation
|
|
|
|
ColorJitter
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: ColorJitter
|
|
|
|
FlipHorizontal
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: FlipHorizontal
|
|
|
|
FlipVertical
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: FlipVertical
|
|
|
|
RandomFlipHorizontal
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: RandomFlipHorizontal
|
|
|
|
RandomFlipVertical
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: RandomFlipVertical
|
|
|
|
RandomRotation
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: RandomRotation
|
|
|
|
RandomShift
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: RandomShift
|
|
|
|
RandomShear
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: RandomShear
|
|
|
|
RandomZoom
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: RandomZoom
|
|
|
|
RandomAffine
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: RandomAffine
|
|
|
|
Transpose
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: Transpose
|
|
|
|
HWC2CHW
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: HWC2CHW
|
|
|
|
CHW2HWC
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: CHW2HWC
|
|
|
|
Normalize
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: Normalize
|
|
|
|
StandardizePerImage
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: StandardizePerImage |