Even though the activity mask is decoupled from the encoding process, it is an uphill task to output a y4m of the activity masks for each frame currently. The easiest way to get a quick activity mask from the encoder is to write out activity values to a csv file as they are computed. An example patch that does this is present below as "extract-mask.diff"
The current attempt to create a map of activity is by computing the cube root of standard deviation(simply, 6th root of variance) of each 8x8 block. Keep track of the activity map implementation in this pull request.
Attempts of quantifying the activity of an 8x8 block included different trials. One method to do so was to perform a forward transform(DCT) on the image and apply the Constrast Sensitivity Function (CSF) with zeroed DC coefficient and accumulate to get a measure of activity. The distribution of activity was too polar th