./graphics/leptonica, Software for image processing and image analysis applications

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.74.4, Package name: leptonica-1.74.4, Maintainer: adam

This package contains well-tested C code for some basic image processing
operations, along with a description of the functions and some design methods.
A full set of affine transformations (translation, shear, rotation, scaling)
on images of all depths is included, with the exception that some of the
scaling methods do not work at all depths. There are also implementations of
binary morphology, grayscale morphology, convolution and rank order filters,
and applications such as jbig2 image processing and color quantization.

Required to run:
[graphics/png] [graphics/openjpeg] [graphics/giflib] [graphics/libwebp]

Required to build:

Master sites:

SHA1: c1977bd9e5fe9f75d8e4ad3ca4f42fb3db906a5a
RMD160: f4a469d36c1de4f393dd6307474bccf9eecef022
Filesize: 12060.427 KB

Version history: (Expand)

CVS history: (Expand)

   2017-10-12 00:54:42 by Jonathan Perkin | Files touched by this commit (2)
Log message:
leptonica: Support openjpeg-2.3.
   2017-06-14 16:26:24 by Filip Hajny | Files touched by this commit (2) | Package updated
Log message:
Update graphics/leptonica to 1.74.4.

1.74.4  11 Jun 17
- Converted two progs to reg tests
- New version because 1.74.3 had some spurious files (xtractprotos,

1.74.3  9 Jun 17
- Coverity scan fixes.
- Several fixes for running on Windows, including subtle one with tiff
  encoding depending on pad bits.
- Utility and test if a page image likely has a table.
- Remove use of pixCreateTemplateNoInit() where it may cause problems.
- Make release 'configure-make ready'
   2017-02-28 16:20:12 by Ryo ONODERA | Files touched by this commit (208)
Log message:
Recursive revbump from graphics/libwebp
   2017-02-21 15:04:49 by Filip Hajny | Files touched by this commit (2) | Package updated
Log message:
Update graphics/leptonica to 1.74.1

1.74.1  4 Jan 17
- Configuration changes to support the patch number in the
  version (major.minor.patch).
- Removed all remaining pixDisplayWrite() calls in prog/.
- Cleaned up and/or promoted about 15 programs to full regression
  tests.  There are now 95 tests in the regression set.
- Over half the initial coverity scan warnings have been removed.

1.74.0 10 Dec 16
- Leptonica development was moved to github.  The master is at:
- Egor Pugin is the maintainer of the site.
- A very large number of changes have been made.  Some of them follow;
- details can be found in the git commit messages.
- Static makefiles modified to work with gnu*9 and c*9.
- Modify SET macros to work on windows.
- New modes for RGB --> gray conversion.
- New functions added for displaying a pix from a pixa.
- Split out sort/hash/set/map functions for dna, sarray and pta.
- More robust horizontal deskew on multi-column page images.
- Improve webpio_reg test.
- Remove X11 display for gplot; it is no longer supported.
- Remove most sleep calls, which were put in for gplot; no longer needed.
- Removed use of gthumb in library.
- Removed use of pixDisplayWrite() in the library; still in some progs.
- Improved test for endianness in makefile.static; no longer requires
  any local files or building and running a program.
- Modified all files for doxygen output (spearheaded by Jurgen Buchmuller)
- Improved plotting of the boxes in a boxa.
- Replaced the slow point hash function with a simple fast one.
- Added pam (4 component) format writing to pnmio.c (Jurgen Buchmuller)
- Improved rendering of pixa in side/by/sides.
- Better utilities for pixa and pixacomp.
- Add read/write serialization functions from/to memory for all
  the major data structures that do not already have them.
- More serialized boot recognizers stored as self-generating code.
- Cleaned up generating an adapted recognizer from the boot recognizer.
- Simplified temp file naming; removed most instances of named
  temp files from non-debug code; use tmpfile() and a wrapper
- Simplify and streamline multipage tiff reading (Jeff Breidenbach).
- Improvement of Otsu thresholding.
- Recognize outstanding contributors to leptonica over the years.
- New gif mem read/write interface that avoids writing a temp file,
  contributed by Tobias Peirick.
- Use double arrays (dna) instead of float (numa) for set ops.
- Enrolled in coverity scan to find potential bugs (Stefan Weil
  managed it). Fixed about 200 of them, mostly potential memory
  leaks from early function exit.
- Cleanup of gray quantization functions and tests.
- Refactored connectivity-conserving operations, to make them more useful.
- Provided methods for measuring and regularizing the width of strokes.
- Removed viewfiles.c from library; code is now in prog htmlviewer.c.
- Better debugging in page segmentation (pageseg.c)
- Deprecated the pixDisplayWrite*() debugging methods.
- Added about 15 regression tests to the framework in alltests_reg.c
- Final mods for compatibility with tesseract 4.00.
   2016-03-17 13:44:58 by Filip Hajny | Files touched by this commit (4) | Package updated
Log message:
Update graphics/leptonice to 1.73.

- All lept_* functions have been rewritten to avoid path rewrites
  output to temp files, which were introduced in 1.72.
- Naming changes (to avoid collisions):
  ByteBuffer --> L_ByteBuffer
- Added grayscale histogram functions that can be used to compare
- Added functions to determine if an image region has horizontal
  text lines.
- Added functions to compare photo regions of images to determine
  if they're essentially the same.
- Added red-black tree utility functions to implement maps and
- The keys for maps and sets can be 64-bit entities (signed and
  unsigned integers and doubles).
- Implemented hashsets and hashmaps, using 64 bit keys.
- Replaced the numaHash by l_dnaHash; removed numa2d
- Improved security of tiff and gif reading, to prevent memory
  when reading bad data.
- Removed src files: bootnumgen.c
- Added src files: rbtree.c, rbtree.h, map.c, bootnumgen1.c,
- Added prog files: rbtreetest.c, maptest.c, settest.c,
  recog_bootnum.c, percolatetest.c
- Added files for building using cmake (Egor Pugin)

- Better handling of 1 bpp colormap read/write with png so that
  they are losseless.
- Fixed overflow bug in pixCorrelationBinary().
- Fixed orientation flags and handling of 16 bit RGB in tiff.
- Also new wrappers to TIFFClientOpen(), so we no longer go
  the file descriptor for memory operations.
- Improvements in the dewarp functions.
- New box sequence smoothings.
- New antialiased painting through mask; previously it was only
  implemented for connected components in a mask.
- Better error handling and debug output with jpeg2000 read/write.
- Implemented base64 encoding.  This allows binary data to be
  as a C string that can be compiled.  Used this in bmf utility.
- Implemented automatic code generation for deserialization from
  compiled strings (stringcode.*)
- Regression tests write to leptonica subdir of  in windows; in
  unix it is optional.  This avoids spamming the  directory.
- Added new colorspace conversions (XYZ, LAB).
- New source files: encoding.c, bmfdata.h, stringcode.c,
- Removed source files: convolvelow.c, graymorphlow.c
- New programs: genfonts_reg, colorize_reg, texturefill_reg,
  autogentest1, autogentest2.
- alltests_reg now has 66 tests.
   2016-01-06 11:46:56 by Adam Ciarcinski | Files touched by this commit (87)
Log message:
Revbump after updating graphics/libwebp
   2015-11-03 22:34:36 by Alistair G. Crooks | Files touched by this commit (610)
Log message:
Add SHA512 digests for distfiles for graphics category

Problems found with existing digests:
	Package fotoxx distfile fotoxx-14.03.1.tar.gz
	ac2033f87de2c23941261f7c50160cddf872c110 [recorded]
	118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated]
	Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz
	34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package AfterShotPro: missing distfile AfterShotPro-
	Package pgraf: missing distfile pgraf-20010131.tar.gz
	Package qvplay: missing distfile qvplay-0.95.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-02-09 12:11:25 by Filip Hajny | Files touched by this commit (1)
Log message:
Fix build on SunOS.