0

I have to do for my project many image filters (all you can imagine) in JAVA (I use JAVA JAI). I have done all except unimodal thresholding by Paul L. Rosin. I found only this document and implementation on c++. Unfortunately, I'm terrible in c ++. Can you help me please? Thanks!

Samot
  • 47
  • 6

1 Answers1

1

Just use Catalano Framework. It's very easy and fast. There's a lot of examples in samples folder.

import Catalano.Imaging.Filters;
// If you want to use parallel processing. Change the namespace for:
// import Catalano.Imaging.Concurrent.Filters;

FastBitmap fb = new FastBitmap(bufferedImage);
fb.toGrayscale();

RosinThreshold rosin = new RosinThreshold();
rosin.applyInPlace(fb);
Diego Catalano
  • 689
  • 9
  • 16