def calc_perpixel_mse(image, denoised_image):
    """Generate per-pixel squared error heatmap

    Args:
        image (tensor): ground truth image.
        denoised_image (tensor): denoiesd image.

    Returns:
        result (tensor): per-pixel squared difference between image and denoised image.
    """
    return (denoised_image - image) ** 2