def apply(self, src, dst): """Apply the filter with a BGR or gray source/destination.""" srcFlatView = utils.flatView(src) dstFlatView = utils.flatView(dst) utils.applyLookupArray(self._vLookupArray, srcFlatView, dstFlatView)
def apply(self, src, dst): """Apply the filter with a BGR or gray src/dst""" src_flat_view = utils.flatView(src) dst_flat_view = utils.flatView(dst) utils.apply_lookup_array(self._vLookupArray, src_flat_view, dst_flat_view)
def apply(self, src, dst): """ Apply the filter with a BGR or gray source/destination.""" srcFlatView = utils.flatView(src) dstFlatView = utils.flatView(dst) utils.applyLookupArray(self._vLookupArray, srcFlatView, dstFlatView)