Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Thread Tools Search this Thread Display Modes
Old 2nd April 2006, 21:27   #1  |  Link
the dumbest
Join Date: Oct 2002
Location: Malvinas
Posts: 494
color/chroma saturation.

Is there any method to measure how much color saturation an image has?
I'm thinking about that because I would like making a plugin for autocalibration on saturation between shots..
morsa is offline   Reply With Quote
Old 3rd April 2006, 01:02   #2  |  Link
Join Date: Jan 2002
Posts: 21,923
You can convert the color space to HLS. Then take the average of the S's for all the pixels in the image.
Guest is offline   Reply With Quote
Old 10th April 2006, 07:17   #3  |  Link
Retired AviSynth Dev ;)
sh0dan's Avatar
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
Or you could accumulate abs(u-128) + abs(v-128) for all pixels - that should also give you an idea.
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 05:09.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.