How To Install liblqr-1-0 on Debian 10
Introduction
In this tutorial we learn how to install liblqr-1-0
on Debian 10.
What is liblqr-1-0
liblqr-1-0 is:
The LiquidRescale (lqr) library provides a C/C++ API for performing non-uniform resizing of images by the seam-carving technique.
The library takes images in plain array format as input and converts them to a multi-size representation.
Following is a list of features:
- Areas in the image can be marked for preservation or discard
- Once the image has been fully processed, the scaling can be done in real-time. In fact, the information can be saved and read out later without any further processing
- The resizing is done with a single function which automatically performs all the necessary operations; it can also work in successive steps without wasting computational time
- Possibility to tune the carving operation by letting the seams be less connected, or more rigid, or both
- Can export and import the visibility map (the seams)
- Other images can be attached and undergo the same carving process as the parent image
- The automatic feature detection algorithm can be tuned by selecting among different energy gradient functions
- Reports progress through a customizable interface
- A signalling system permits one to cleanly handle errors
The library implements the algorithm described in the paper “Seam Carving for Content-Aware Image Resizing” by Shai Avidan and Ariel Shamir, which can be found at http://www.faculty.idc.ac.il/arik/imret.pdf
This package contains the shared library.
There are three methods to install liblqr-1-0
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install liblqr-1-0 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install liblqr-1-0
using apt-get
by running the following command:
sudo apt-get -y install liblqr-1-0
Install liblqr-1-0 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install liblqr-1-0
using apt
by running the following command:
sudo apt -y install liblqr-1-0
Install liblqr-1-0 Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install liblqr-1-0
using aptitude
by running the following command:
sudo aptitude -y install liblqr-1-0
How To Uninstall liblqr-1-0 on Debian 10
To uninstall only the liblqr-1-0
package we can use the following command:
sudo apt-get remove liblqr-1-0
Uninstall liblqr-1-0 And Its Dependencies
To uninstall liblqr-1-0
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove liblqr-1-0
Remove liblqr-1-0 Configurations and Data
To remove liblqr-1-0
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge liblqr-1-0
Remove liblqr-1-0 configuration, data, and all of its dependencies
We can use the following command to remove liblqr-1-0
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge liblqr-1-0
Dependencies
liblqr-1-0 have the following dependencies:
References
Summary
In this tutorial we learn how to install liblqr-1-0
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.