how extraction image of other image
Hello I would like to know how I can segment images with openCV, that is, first stage extract my area of interest while maintaining its colors, for example I put a tree that I want to extract its stem and then apply corresponding filters.