validate_image_dimensions#
- brainglobe_atlasapi.atlas_generation.validate_atlases.validate_image_dimensions(atlas: BrainGlobeAtlas)[source]#
Check that annotation and reference images have identical dimensions.
- Parameters:
atlas (BrainGlobeAtlas) – The BrainGlobeAtlas object to validate.
- Returns:
True if the dimensions match.
- Return type:
bool
- Raises:
AssertionError – If the annotation and reference image arrays have different shapes.