Unit 2 Text and Image Processing Flashcards

1
Q

Types of text:

A
  1. Unformated text (plain text, ASCII character code)
  2. Formatted text
  3. Hypertext
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Text file formats

A

File formats are application specific
TXT - plain text document without much formatting options

DOC - created by document editing softwares like Microsoft word and is in binary format

RTF - Rich Text Format using Microsoft

PDF - Portable Document Format (binary format)

PS - Post Scripts (programming language the defines look of a printed page)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is meant by text compression?

A

Reducing the size of a text document without changing the contents of the document while storing on a disk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Components of a compression technique:

A

Encoder
Storage or network
Decoder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the compression ratio?

A

The ratio of the total number of bits required before compression to the total number of bits required after compression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Huffman coding?

A

Instead of fixed sized code words variable length code words are derived such that the shortest code words are used for the words occurring frequently

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the requirement of Huffman coding?

A

Used in applications where the text to be compressed has some known characteristics in terms of characters and their relative frequency of occurrences

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Applications of Huffman coding

A

Fax machines, JPEG, MPEG

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Image file formats

A

BMP - lossless, developed by Microsoft
TIFF - lossless file format, high quality, large size
JPEG - lossy, small size
GIF - lossless compression, larger size than JPEG, limited color range(256 colors)
PNG - lossless, support 16 million colors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Run–Length–Encoding (RLE)

A
  • Applied across a sequence of characters
  • Sequence contes repetition of characters
  • Main idea is to replace the repetition of character by the frequency count of occurrence of that character
  • Can easily encode images which are binary that is only black and white with continuous regions
  • Can be used for two dimensional image data for every row
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Shannon-Fano Algorithm

A
  • It is a variable length coding (VLC) method, codewords generator is variable
  • Uses top-down approach
  • can be implemented using binary tree
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Arithmetic Coding

A
  • Modern coding method that outperforms Huffman coding
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Vector Quantization

A
  • Lossy compression
  • Algorithm:
    1. Vectorisation
    2. Codebook generation
    3. Encoding
    4. Decoding
  • Key points: Variable bitrate, vector size and complexity, codebook design
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Fractal Compression technique

A
  • Depends on the concept of fractals
  • Algorithm:
    1. Partition (image divided into smaller non overlapping blocks or regions)
    2. Iterative Matching (affine transformations)
    3. Error calculation (differences in pixel values)
    4. Encoding (parameters of transformation and errors)
    5. Decoding (application of inverse transformation)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Transform Coding

A
  • Lossy compression technique
  • Algorithm:
    1. Dividing image into blocks
    2. Apply transform like DCT(discrete cosine transform) on each block to generate transform coefficients
    3. Quantization
    4. Encoding (any symbol encoding algorithm is used)
    5. Decoding entire above process reversed
  • Used for JPEG compression
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is image processing?

A

It is the manipulation and analysis of visual information contained in an image.

17
Q

Elements of image processing:

A

Acquisition - capturing visual information from real world and convert it into digital form

Storage - storage of acquired digital information of image for later retrieval and processing

Communication - transfer of image from one location or system to another

Display- rendering digital image data on a visual output device

Enhancement - improvement of the visual quality or image data to make it more suitable for analysis and interpretation