def get_roi_image(original_image, h1, h2, w1, w2):
    """
    Segment the ROI of the image from the given image using h1, h2, w1, w2
    :param original_image: np.ndarray, the image to be segmented
    :param h1: uint
    :param h2: uint
    :param w1: uint
    :param w2: uint
    :return: the ROI of the input image
    """
    return original_image[h1: h2, w1: w2]