Augmentation CenterCrop wrapper for ecvl::CenterCrop.
More...
#include <augmentations.h>
◆ AugCenterCrop() [1/3]
ecvl::AugCenterCrop::AugCenterCrop |
( |
| ) |
|
|
inline |
AugCenterCrop constructor. Crop size is inferred from the minimum image dimension. \( crop\_size = min(Image_{cols}, Image_{rows}) \).
Definition at line 1387 of file augmentations.h.
◆ AugCenterCrop() [2/3]
ecvl::AugCenterCrop::AugCenterCrop |
( |
const std::vector< int > & |
size | ) |
|
|
inline |
AugCenterCrop constructor.
- Parameters
-
[in] | size | std::vector<int> that specifies the new size of each dimension [w,h]. |
Definition at line 1393 of file augmentations.h.
◆ AugCenterCrop() [3/3]
ecvl::AugCenterCrop::AugCenterCrop |
( |
std::istream & |
is | ) |
|
|
inline |
◆ Clone()
std::shared_ptr<Augmentation> ecvl::AugCenterCrop::Clone |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: