NPR-SFS
0.2
Sample implementations of Shape-From-Shading techniques for NPR.
|
OpenCV image functions. More...
Functions | |
def | to8U |
Convert image into uint8 type. More... | |
def | to32F |
Convert image into float32 type. More... | |
def | rgb |
RGB channels of the image. More... | |
def | alpha |
Alpha channel of the image. More... | |
def | setAlpha |
Set alpha for the image. More... | |
def | rgb2gray |
RGB to Gray. More... | |
def | gray2rgb |
Gray to RGB. More... | |
def | gray2rgba |
Gray to RGBA. More... | |
def | bgr2rgb |
BGR to RGB. More... | |
def | bgra2rgba |
BGRA to RGBA. More... | |
def | rgba2bgra |
RGBA to BGRA. More... | |
def | rgb2bgr |
RGB to BGR. More... | |
def | rgb2Lab |
RGB to Lab. More... | |
def | Lab2rgb |
Lab to RGB. More... | |
def | rgb2hsv |
def | hsv2rgb |
HSV to RGB. More... | |
def | merge |
Merge channels. More... | |
def | luminance |
Luminance value from Lab. More... | |
OpenCV image functions.
def npr_sfs.cv.image.alpha | ( | img | ) |
Alpha channel of the image.
def npr_sfs.cv.image.bgr2rgb | ( | img | ) |
BGR to RGB.
def npr_sfs.cv.image.bgra2rgba | ( | img | ) |
BGRA to RGBA.
def npr_sfs.cv.image.gray2rgb | ( | img | ) |
Gray to RGB.
def npr_sfs.cv.image.gray2rgba | ( | img | ) |
Gray to RGBA.
def npr_sfs.cv.image.hsv2rgb | ( | img | ) |
HSV to RGB.
def npr_sfs.cv.image.Lab2rgb | ( | img | ) |
Lab to RGB.
def npr_sfs.cv.image.luminance | ( | img | ) |
Luminance value from Lab.
Lumiannce value will be in [0, 1]
def npr_sfs.cv.image.merge | ( | channels | ) |
Merge channels.
def npr_sfs.cv.image.rgb | ( | img | ) |
RGB channels of the image.
def npr_sfs.cv.image.rgb2bgr | ( | img | ) |
RGB to BGR.
def npr_sfs.cv.image.rgb2gray | ( | img | ) |
RGB to Gray.
def npr_sfs.cv.image.rgb2Lab | ( | img | ) |
RGB to Lab.
def npr_sfs.cv.image.rgba2bgra | ( | img | ) |
RGBA to BGRA.
def npr_sfs.cv.image.setAlpha | ( | img, | |
a | |||
) |
Set alpha for the image.
def npr_sfs.cv.image.to32F | ( | img | ) |
Convert image into float32 type.
def npr_sfs.cv.image.to8U | ( | img | ) |
Convert image into uint8 type.