I don't know JAI; my usual way of tackling image operations involves ImageJ, which is both a standalone image manipulation program and a library that can be used fro image processing. It can open TIFFs, and it has a menu for converting images to binary, so it should be possible to use it to achieve this.
This cake looks terrible, but it tastes great! Now take a bite out of this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners