GeoTools

RasterToVectorProcess returns polygons for enclosed 'outside' areas