DiamondLightSource / httomolibgpu

A library of GPU-enabled data processing and reconstruction methods for tomography
https://diamondlightsource.github.io/httomolibgpu/
Other
4 stars 4 forks source link

data watermarking method #147

Closed dkazanc closed 1 month ago

dkazanc commented 1 month ago

A new method to satisfy the following issue in httomo. Essentially we need to put a stamp on the image in places where it will be well visible, therefore the following should be considered:

It seems to me that the easiest way will be to generate an image using those pillow tutorials
https://stackoverflow.com/questions/67965574/watermarking-image-using-pillow https://www.tutorialspoint.com/python_pillow/python_pillow_creating_a_watermark.htm

then threshold it and obtain the mask with which the input array is multiplied considering the conditions above.

dkazanc commented 1 month ago

the issue should be in httomolib, this is not a gpu method.