How To Install liblqr-1-0-dev on Kali Linux

In this tutorial we learn how to install liblqr-1-0-dev on Kali Linux. liblqr-1-0-dev is converts plain array images into multi-size representation (developments files)

Introduction

In this tutorial we learn how to install liblqr-1-0-dev on Kali Linux.

What is liblqr-1-0-dev

liblqr-1-0-dev 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 development files.

There are three methods to install liblqr-1-0-dev on Kali Linux. 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-dev 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-dev using apt-get by running the following command:

sudo apt-get -y install liblqr-1-0-dev

Install liblqr-1-0-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install liblqr-1-0-dev using apt by running the following command:

sudo apt -y install liblqr-1-0-dev

Install liblqr-1-0-dev Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install liblqr-1-0-dev using aptitude by running the following command:

sudo aptitude -y install liblqr-1-0-dev

How To Uninstall liblqr-1-0-dev on Kali Linux

To uninstall only the liblqr-1-0-dev package we can use the following command:

sudo apt-get remove liblqr-1-0-dev

Uninstall liblqr-1-0-dev And Its Dependencies

To uninstall liblqr-1-0-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove liblqr-1-0-dev

Remove liblqr-1-0-dev Configurations and Data

To remove liblqr-1-0-dev configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge liblqr-1-0-dev

Remove liblqr-1-0-dev configuration, data, and all of its dependencies

We can use the following command to remove liblqr-1-0-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge liblqr-1-0-dev

Dependencies

liblqr-1-0-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install liblqr-1-0-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.