问题
I am developing a mobile application that performs the segmentation of wound images. I would like to use the watershed for segmentation of images with the use of the mark of the region of interest made by the user. The user draws around the region of the wound so that the coordinates can be passed to the seeds of the watershed. In this link I saw how this is done using the mouse click, I would like someone to help me do this for android. Because I have no idea how to do it. In the case of my application, instead of coloring the wound, I would like to remove the entire background, leaving it black and highlight only the forenground for further processing of the wound only. I am using kotlin with opencv 4 for development.
来源:https://stackoverflow.com/questions/61876457/image-segmentation-using-segment-seeds-watershed-in-android