implement DIP algorithms by java in ImageJ