@staticmethod
def _get_image_shape(file):
    ' Get Image Shape\n\n        Get the input image shape from an example image.\n\n        Parameters\n        ----------\n        file : str\n            File name\n\n        Returns\n        -------\n        tuple\n            Image shape\n\n        '
    return imread(file).shape
Get Image Shape

Get the input image shape from an example image.

Parameters
----------
file : str
    File name

Returns
-------
tuple
    Image shape
@staticmethod
def _get_image_shape(file):
    ' Get Image Shape\n\n        Get the input image shape from an example image.\n\n        Parameters\n        ----------\n        file : str\n            File name\n\n        Returns\n        -------\n        tuple\n            Image shape\n\n        '
    return imread(file).shape