I use CImg for my image processing work. I had written a small piece of code which is follows:
using namespace std;
using namespace cimg_library;
int main(int argc,char**argv)
Now I want to select an area from the displayed image.
Can some one tell me how to select an area from displayed image and store the selected pixels, and display the selected region in different display window. If some one can provide code, it will be of great help to me.
I had got the answer myself. Please follow this link if interested: Answer