proof of concept of image processing algorithm