Open foreverzzx opened 1 year ago
Hi, you can have a look at my PhD project: https://github.com/Borda/pyImSegm it is using superpixels, but you ll get the point of how to build the unary terms for multiple features either raw RGB values or any other quazi features :otter:
Thanks for your contribution. I wonder what is the input for unary_cost in function cut_grid_graph_simple while performing classfication on rgb image. I cannot understand the shape of unary_cost. Could you show me a example of segmentation on rgb image?