I'm developing an image-processing program. And i'm stuck here. I have an image like this:
I drew a closed line (path) by finger. Now, I want to get all points in the closed-region cut out from the image. Is there any algorithm or method?
I'm developing an image-processing program. And i'm stuck here. I have an image like this:
I drew a closed line (path) by finger. Now, I want to get all points in the closed-region cut out from the image. Is there any algorithm or method?
How to create a circular ImageView in Android?
this may help you. it user drawCircle() to crop a circle, maybe drawPath() can crop a region...