Пример #1
0
 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)
Пример #2
0
 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)
Пример #3
0
 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)
Пример #4
0
 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)