def get_num_channels(df):
    """Get the number of image channels of the input image.

    We make the assumption that the number of channels will not be different
    for the processed image

    Args:
        df (dict): dictionary containing original images

    Returns:
        int: the number of channels in the image
    """
    ind = df['imageInd']
    im_bands = df['orig_im_array'][ind].getbands()

    # Assigne the number of channels based on image type
    num_chans = len(im_bands)

    return num_chans