It seems noobvious IPP function which can for such kind of operation. Can i understand the operation isfrom data mining?is these operation related to a some known algorithm for example, Haar classifier, watershed image segmentationetc.
Just share some i can suggest,
1) the operation is like image segementation. what's output you may check IPPi manual and see computer vision section. The operations may becompleted by ippiThreshold_LT, or ippiLabelMarkers.
2)seems use ippiThreshold_x or ippiThreshold_LTValGTVal can do this
3) some of ipp function support Mask operation. for example,ippiCopy , which can copy one array to another arrayaccording to theMask (0,don't copyand 1 copy) .
Operation on masked pixels only