Added merge sort
This commit is contained in:
parent
c161e4bdd8
commit
7bad0e2c18
8 changed files with 171 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue