added pixel2polygon