public Pair <int, int> similarPixel(int l, int i, int j, int k) { knearest_id nfo = m_SimilaritySet[l][i + j * mOwner.stack(l).getWidth()][k]; if (nfo == null) { return(new Pair <int, int>(0, 0)); } return(new Pair <int, int>(nfo.i, nfo.j)); }
public bool cmp(knearest_id id) { return(id.l == l && id.i == i && id.j == j && id.s == s); }