NoOp.py 480 B

123456789101112131415161718192021
  1. # import
  2. # ------------------------------------------------------------------------------------------
  3. from . import Processing
  4. import copy
  5. # ------------------------------------------------------------------------------------------
  6. class NoOp(Processing.Processing):
  7. """description of class"""
  8. def __init__(self):
  9. pass
  10. def compute(self, img, **kwargs):
  11. """
  12. Duplicate image
  13. """
  14. res = copy.deepcopy(img)
  15. return res