Home

Image Transformation with OpenCV and NumPy

Color Space: RGB2BGR, RGB2GRAY import cv2 import numpy as np def iminvert(img): """Invert (negate) an image Args: img (ndarray): Image to be inverted. Returns: ndarray: The inverted image. """ return np.full_like(img, 255) - img BGR2GRAY and GRAY2BGR with OpenCV def bgr2gray(img, keepdim=False): ""...

Read more

Common Datasets for Image Super-Resolution

Image Super Resolution Task Single image super-resolution (SISR) is a notoriously challenging ill-posed problem, because a specific low-resolution (LR) input can correspond to a crop of possible high-resolution (HR) images, and the HR space (in most instances it refers to the nature image space) that we intend to map the LR input to is usually ...

Read more

Image Inpainting: From PatchMatch to Pluralistic

Traditional PatchMatch A Randomized Correspondence Algorithm for Structural Image Editing - SIGGRAPH 2009 This paper presents interactive image editing tools using a new randomized algorithm for quickly finding approximate nearest-neighbor matches between image patches. Previous research in graphics and vision has leveraged such nearest-neig...

Read more