Describe the bug
polygon_to_mask_array in the util module returns mask with inverted shape
To Reproduce
Steps to reproduce the behavior:
from histolab.util import polygon_to_mask_array
from histolab.types import CoordinatePair
vertices = CoordinatePair(1, 0, 2, 0)
mask = polygon_to_mask_array(dims=(5, 6), vertices=vertices)
mask.shape # (6, 5) instead of (5, 6)
Expected behavior
The shape should be (5, 6).