edflow.iterators.resize module

Summary

Functions:

resize_float32

resize_hfloat32

resize_image

size is expanded if necessary and swapped to Pillow

resize_uint8

x: np.ndarray of shape (height, width) or (height, width, channels) and dtype uint8 size: int or (int, int) for target height, width

Reference

edflow.iterators.resize.resize_image(x, size)[source]

size is expanded if necessary and swapped to Pillow

edflow.iterators.resize.resize_uint8(x, size)[source]

x: np.ndarray of shape (height, width) or (height, width, channels) and dtype uint8 size: int or (int, int) for target height, width

edflow.iterators.resize.resize_float32(x, size)[source]
edflow.iterators.resize.resize_hfloat32(x, size)[source]