I am working on a mini image processing library which performs basic tasks like edge detection, filtering, hough transforms etc in C. I have a couple of questions: