Realtimestagram
Functions | Variables
image_tool.sh File Reference

Function Documentation

§ _convert_to_plain()

_convert_to_plain ( )

Converts a pnm image to plain text.

§ _create_HSV_image()

_create_HSV_image ( )

Converts an image to HSV colorspace.

§ _create_sepia_image()

_create_sepia_image ( )

Converts an image to sepia using image_magick.

§ check_if_input_image()

check_if_input_image ( )

Checks wheter an input image was provided.

§ create_color_image()

create_color_image ( )

Creates pnm color image.

§ create_gray_image()

create_gray_image ( )

Creates pgm gray image where all color channels are averaged into single gray channel.

§ create_HSV_image()

create_HSV_image ( )

Creates a HSV input image with all value per pixel on a single line.

§ create_input_image_color()

create_input_image_color ( )

Creates a color input image.

§ create_input_image_gray()

create_input_image_gray ( )

Creates a gray input image.

§ create_sepia_image()

create_sepia_image ( )

Creates a sepia input image with all value per pixel on a single line.

§ create_split_HSV_images()

create_split_HSV_images ( )

Creates a separate image for Hue, Saturation and Value channel.

§ split_color()

split_color ( )

Split all rgb values into single lines.

§ split_gray()

split_gray ( )

Split all bit values into single lines.

§ split_HSV_image()

split_HSV_image ( )

Splits an input image into separate Hue, Saturation and Value images.

§ usage()

usage ( )

Variable Documentation

§ BITDEPTH

BITDEPTH = 8

Number of bits in output image.

§ HEIGHT

HEIGHT = 512

Number of pixels high the output image will be.

§ PERCENTAGE

PERCENTAGE = 80

The percentage used in the sepia algorithm.

§ WIDTH

WIDTH = 512

Number of pixels wide the output image will be.