"vscode:/vscode.git/clone" did not exist on "ba264e9da8d75e467246e78d112fcd978c34f8da"
image.rst 1.26 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
.. role:: hidden
    :class: hidden-section

mmcv.image
===================================

.. contents:: mmcv.image
   :depth: 2
   :local:
   :backlinks: top

.. currentmodule:: mmcv.image

IO
----------------

.. autosummary::
   :toctree: generated
   :nosignatures:

   imfrombytes
   imread
   imwrite
   use_backend

Color Space
----------------

.. autosummary::
   :toctree: generated
   :nosignatures:

   bgr2gray
   bgr2hls
   bgr2hsv
   bgr2rgb
   bgr2ycbcr
   gray2bgr
   gray2rgb
   hls2bgr
   hsv2bgr
   imconvert
   rgb2bgr
   rgb2gray
   rgb2ycbcr
   ycbcr2bgr
   ycbcr2rgb

Geometric
----------------

.. autosummary::
   :toctree: generated
   :nosignatures:

   cutout
   imcrop
   imflip
   impad
   impad_to_multiple
   imrescale
   imresize
   imresize_like
   imresize_to_multiple
   imrotate
   imshear
   imtranslate
   rescale_size

Photometric
----------------

.. autosummary::
   :toctree: generated
   :nosignatures:

   adjust_brightness
   adjust_color
   adjust_contrast
   adjust_hue
   adjust_lighting
   adjust_sharpness
   auto_contrast
   clahe
   imdenormalize
   imequalize
   iminvert
   imnormalize
   lut_transform
   posterize
   solarize

Miscellaneous
----------------

.. autosummary::
   :toctree: generated
   :nosignatures:

   tensor2imgs