image segmentation using spatial(location) feature

107 Views Asked by At

I am using Mean Shift Clustering algorithm for the image segmentation. I have to define a feature vector. How can I define a feature that containes location(spatial) information of each pixel in the image. I defined color and depth features already but I have no idea for the location feature. Any idea or suggestions?

0

There are 0 best solutions below