Vuze 3D Stitcher

Create a 3D 360 VR image from 8 fisheye images.


Project maintained by e-regular-games Hosted on GitHub Pages — Theme by mattgraham

Color Histogram Matching

Date: July 24, 2022

Script: features.py

Usage:

../notes/splice_360.sh -d -c config_hist_match_bad_bash.dat
../src/features.py -c config_hist_match_bad.dat

With the improved image alignment and seams, the color differences between the lenses are becoming more obvious. A simple way to align color distributions between similar images is to use the histogram matching technique.

Histogram matching returns reasonable results for images with already similar color histograms.

Color histogram matching

A new image set was uploaded which included lens flare and distorted colors based on the changing brightness of the 360 scene. The histogram matching technique adjusts each color channel, RGB, separately. This results in distorted colors. Others using this technique have suggested only matching the brightness channel in the HSV color space.

This new set of images also exposes issues with feature identification and stitching. For large areas of blue sky, there are no feature points. This lack of data makes it difficult to correctly identify the image adjustment constants.

Color histogram matching bad behavior

References

Histogram Matching - SciKit-Image