The Liquid Rescale library Manual
Next
The Liquid Rescale library Manual
Carlo
Baldassi
Copyright © 2007-2008 Carlo Baldassi
Table of Contents
1. Introduction
Copyright
About this document
Seam carving in brief
About enlarging
Overview of the library
Basic methods
2. LqR library API user manual
Signal handling
Generating the multi-size image
Carver object creation
Carver activation
Liquid rescaling
The resizing method
Flattening
Reading the multi-size image
Pixel by pixel
One line at a time
Resetting
Adding a bias
Foreword
Using an array of floating-point values
Using another image
Operating on a specific area
Adding a rigidity mask
Foreword
Using an array of floating-point values
Using another image
Operating on a specific area
Tuning
Choosing a gradient function
Choosing the resize order
Choosing the side switch frequency
Dealing with the visibility maps (the seams)
Dumping the visibility map
Storing the visibility maps
Accessing the internally attached visibility maps
The visibility map objects
Importing a visibility map in a carver
Saving and loading visibility maps to/from files
Attaching extra images
Attaching a carver
Accessing attached carvers
Progress indicators
Creating and attaching a progress report object
Setting up progress hooks
Initial and ending progress messages
Progress update step
Releasing the memory
3. LqR library API reference
Types defined by the library
Carver objects
Visibiliy maps
Bias
Rigidity masks
Progress reports
4. References
A. API changes in new versions of the library
New symbols in version 0.2
List of Tables
2.1.
Default progress messages
List of Examples
2.1.
A simple readout example
2.2.
A simple readout example - extended version
2.3.
Line-by-line readout example
2.4.
Line-by-line readout example - extended version
2.5.
Accessing visibility maps #1
2.6.
Accessing visibility maps #2
2.7.
Reading visibility maps data
2.8.
Accessing attached carvers #1
2.9.
Accessing attached carvers #2
2.10.
Setting progress hooks
2.11.
Progress hooks declaration