Currently I am able to open, display and do some image processing on DICOM images. I can also use the mouse to draw polygons.
Can someone give me an indication on how I can make the inside of the polygon 1's and the outside 0's. What I would like to do is then to multiply this "mask" with the original image, therefore creating a region of interest. I'm interested in the information in that ROI.