ImageContainer.uncrop#
- classmethod ImageContainer.uncrop(crops, shape=None)[source]#
Re-assemble image from crops and their positions.
Fills remaining positions with zeros.
- Parameters:
- Returns:
ImageContainer– Re-assembled image fromcrops.- Raises:
ValueError – If crop metadata was not found or if the requested
shapeis smaller than required bycrops.