Calculate Linear RGB feature as "On line selection of discriminative tracking features" using OpenCV.