Added merge sort

This commit is contained in:
Ziver Koc 2010-02-26 18:39:18 +00:00
parent c161e4bdd8
commit 7bad0e2c18
8 changed files with 171 additions and 4 deletions

View file

@ -141,6 +141,10 @@ public class MedianFilter extends ImageFilterProcessor{
public Integer get(int i) {
return data[ getY(i) ][ getX(i) ][ channel ];
}
public void set(int i, Integer o){
data[ getY(i) ][ getX(i) ][ channel ] = o;
}
public int size() {
return cols * rows;