Conventional Computer Vision experiment
Implement the Retinex for image preprocessing which is fork and modified from dongb5
- Single Scale Retinex (SSR)
- Multi Scale Retinex (MSR)
- Multi Scale Retinex Color Restoration (MSRCR)
- automated MSRCR
- Multi Scale Retinex with Chromaticity Preservation (MSRCP)
origin | MSRCR | autoMSRCR | MSRCP |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Transform the form of contours into the shape of (?, 1, 2)
Simple but effective method to get the contour by threshold (OTSU)
- convert to grayscale image
- GaussianBlur
- get a mask by given threshold
- find the contour by given mask
The Same process as OpenCV but the last function is different where is implement in skimage.
demo code with lucas-kanade (sparse optical flow)
the path on the lucas-kanade demo image is the beetle tracking path
Retinex