Skip to content

ImageProcessing-ElectronicPublications/jbig2enc-minidjvu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jbig2enc-minidjvu

Using jbig2enc in conjunction with minidjvu/minidjvu-mod.

The jbig2enc implementation uses the leptonica classifier for lossy compression, which is unsatisfactory of:

Kjbig2 = Kpack / (1.0 - Kerror)

         Kpack = size_jbig2 / size_pbm
         
         Kerror = sqrt(1.0 - part_no_error * part_no_error)
         
                  part_no_error = (full - error) / full

To overcome poor compression performance and classification errors, a recipe will be shown for using the third-party minidjvu-mod classifier with increasing the threshold of the leptonica classifier to eliminate classification errors.

Recipe for using the third-party classifier minidjvu-mod with increasing the leptonica threshold to eliminate classification errors

Test used this recipe.

Releases

No releases published

Packages

No packages published