Color Harmonization For Videos
-
Upload
nikhilus85 -
Category
Documents
-
view
537 -
download
1
Transcript of Color Harmonization For Videos
Color Harmonization for Videos
Nikhil Sawant and Niloy J. Mitra
Dept. of CSE, Indian Institute of Technology, Delhi
Color Harmonization ?
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
• Not all colors match• Colors can be ‘chaotic’ or ‘boring’• Overall impact can be disturbing• Notion of harmony depends on
place, time, context, etc.
Ultimate goal• Enhance visual harmony
Color Harmonization ?
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
• Videos are sets of images• Problematic due to:
– Rapidly changing scenes– Indoor and outdoor scenes– Changing illumination– Back to back un-harmonized scene
Ultimate goal• Enhance visual harmony of videos
Color Harmonization for Videos ?
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Images
[Cohen-Or et al., Color Harmonization, SIGGRAPH, 2006]
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
• Templates for harmonization
• Need for optimization
Our approach
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Template I Template V Template L Template I
Template T Template Y Template X Template N
[Johannes Itten. The Art of Color: the subjective experience and objective rationale of color. Van Nostrand Reinhold, 1973]
• Templates for harmonization
• Potential function:• P(θt, I) = [# image pixels in the shaded region]
• θot = argmax(P(θt, I)) θ є [0 – 360°]
• θH = argmax(P(θot, I)) T є {i, V, L, I, T, Y, X}
• Linear Color adjustment
Our approach
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
θt
θot
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
ResultTemplate X
ResultTemplate V
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Segmentation problem• Splitting of color within same region
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Template V
• Splitting of color within same region
• Solution - Find best position for splitting
Segmentation problem
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Segmentation problem
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Segmentation problem
• Less accurate but faster than traditional approaches
Nilkhil Sawant and Niloy J. MitraColor Harmonization for Videos
Videos
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
CH extended for videos• Videos are sets of images (frames)
• Naïve approach: each frame independently harmonized
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
CH extended for videos• Videos are sets of images (frames)
• Naïve approach: each frame independently harmonized
• Flickering artifacts observed
• Noticeable change in color due to large variation in θ
• Need to correlate the adjacent frames
• Grouping of frames
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Grouping
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Grouping
• Mean color for group of frames
• Calculation of θg considering mean color• Frames under a group harmonized by θg
• No flickering within a group
• Flickering at the group junction
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Overlapping
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Overlapping
• Adjacent groups contain common frames• Similar approach to grouping• Common frames harmonized according mean θg
of two groups (smoother transition)• Flickering artifacts between group are reduced• Change of scene still cause flickering artifacts
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Change of scene
• Change of camera
• Change of camera view port
• Change in illumination
• Larger change in colors
• We categorize all such frames as I-frames
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Change of scene detection(I-frames)
• Calculating MSE for each frame
• MSE is measure of color change
• Threshold is selectedColor Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
I-frames + overlapping
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
• An I-frame causes start of new group
• Between two I-frames overlapping method used
I-frames + overlappingNaïve approach
Results
Nilkhil Sawant and Niloy J. MitraColor Harmonization for Videos
Original Video Harmonized Video
Two parameter variation• Slight variation in the template is allowed
• Allow template to adjust according to image hue histogram
• Harmonization with minimal color change
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Template X
Two parameter variation
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Two parameter variation
• Large deviation in template may affect the harmonization
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Conclusion
• Faster technique for color harmonization of images
• Less reliable but faster technique for segmentation problem
• Introduction of harmonization technique to Videos
• Reduction in flickering artifacts
• Introduction of Two parameter variation method
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra
Thank you
Original Video Harmonized Video
Results
Nilkhil Sawant and Niloy J. MitraColor Harmonization for Videos
Thank you
Color Harmonization for Videos Nilkhil Sawant and Niloy J. Mitra