0

I want to mask some area (Blue and Red) in an image, I tried different methods but I couldn't get the solution that I want.

Here's the image I am using: enter image description here

Here's the result that I want: enter image description here

Please explain the code because I really want to learn how it works and implement it in my own understanding. Any helps ? Thanks

Dev-iL
  • 23,742
  • 7
  • 57
  • 99
Aulia
  • 23
  • 5
  • 1
    Could you please show what you have tried? – thorsan Aug 11 '16 at 07:35
  • Do input images always come with rectangle-like blue and red regions, or did you add them manually for clarification? Also, the result seems resized (smaller) - what's the rule for resizing? – Dev-iL Aug 11 '16 at 07:44
  • It would also be interesting to see the code you have used to get that image. – kkuilla Aug 11 '16 at 07:48
  • 1
    It's not clear what you want to achieve. Are you trying to do object detection and segmentation? Or you already know the position and shape of the objects and just want to obtain the binary mask? –  Aug 11 '16 at 08:24
  • @Aulia Do you either know your input co-ordinates or features/blobs in the input image? – be_good_do_good Aug 11 '16 at 10:51

0 Answers0