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