I am working on an image processing algorithm to detect markers. The code uses the opencv library and works perfectly fine. However I have been asked to put it into HDL using HLS to optimize the design. The thing is HLS doesn't allow the use of many structures and forms used in a standard code. My main problem here is that I use a variable defined as a I am working on an image processing algorithm t