implemented getSuperPixelX and Y