i was wondering if anyone could help me more or less on how i could write a code in C++ that will result in image segmentation. I have made several atempts but everytime i include image.h, my compiler (DEVC++) tells me it does not recognize that variable. I would really appreciate some asistance. Thank you in advance!

It would be helpful to see both the code and error messages about that code to expand. Does image.h exist? Are you including it from the proper path? Do you need to link to a library to be able to use the definitions in that header?