Check video for all color values

asked 2014-12-03 15:24:59 -0500

Is it possible to go through an entire video and see if any color suddenly spiked? as if there were a lamp in the night or something similar?

Or see if there are frames which are completely black, we're taking #000000 but in some places have just the smallest amount of pixels who are less black, even if it is only a single shade lighter?

edit retag flag offensive close merge delete

Comments

1

have a look at histograms

berak gravatar imageberak ( 2014-12-04 01:43:00 -0500 )edit

IMHO you should do a segmentation. For the case of "completely black" frames you can just use the threshold to put all uninteresting pixels to 0 and keep just the others. Or if it a fixed camera that is filming the same place, you can do a frame subtraction for having the differences (you can do the subtraction between consecutive frames or n and n-x, if the "spike" is not very fast).

thdrksdfthmn gravatar imagethdrksdfthmn ( 2014-12-05 06:30:48 -0500 )edit