class ipDCTmod2

This class is designed to decompose the image into blocks and compute the DCTmod2 for each block

Inheritance:


Public Fields

[more]int output_size
number of DCTmod2 features per block
[more]int n_block
number of blocks used for DCTmod2
[more]int rowblocks
number of rows (lines) used for DCTmod2
[more]int colblocks
number of columns used for DCTmod2
[more]ipDCT2D* ip
DCT2D used to process each block
[more]int ip_output_size
output size of ipDCT2D and number of DCT coefficients
[more]int block_size
block size (square)
[more]int block_overlap
overlap between block [0block-1]
[more]int delta_neighbour
number of neighbouring blocks to consider for deltas
[more]int delta_keep
number of delta coefficients to keep

Public Methods

[more] ipDCTmod2(int width_, int height_, const char* coding_, int dim_dct, int block_size_, int block_overlap_, int delta_neighbour_, int delta_keep_)
constructor
[more]virtual ~ipDCTmod2()
[more]virtual void process(Sequence* seq_in)
[more]int getrowblocks()
get the number of rows
[more]int getcolblocks()
get the number of columns


Inherited from ipCore:

Public Fields

output field

input/output image coding field

Public Methods

constructor and destructor

initialization and processing

accessing and modifying output


Documentation

This class is designed to decompose the image into blocks and compute the DCTmod2 for each block

This class computes DCTmod2 over images of size (where ).

                                +--------------------------+
                                |                          |                       
                                |        ipDCTmod2         |
                                |                          |
                                |                          |
                                |   +--+      +--------+   |
				|   |AA|  --> |ipDCT2D | --|--> seq_out->frames[0]
				|   |AA|      +--------+   |
	                        |   +--+                   |
			        |			   |	  
       seq_in->frames[0]        |   +--+      +--------+   |
   	           +----+       |   |BB|  --> |ipDCT2D | --|--> seq_out->frames[1]
		   |AABB|       |   |BB|      +--------+   |
	           |AABB|  ---> |   +--+                   |
                   |CCDD|       |                          |
                   |CCDD|       |   +--+      +--------+   |
                   +----+       |   |CC|  --> |ipDCT2D | --|--> seq_out->frames[2]
                                |   |CC|      +--------+   |
                                |   +--+                   |
                                |                          |
                                |   +--+      +--------+   |
                                |   |DD|  --> |ipDCT2D | --|--> seq_out->frames[3]
                                |   |DD|      +--------+   |
                                |   +--+                   |
                                |                          |
                                +--------------------------+
    

oint output_size
number of DCTmod2 features per block

oint n_block
number of blocks used for DCTmod2

oint rowblocks
number of rows (lines) used for DCTmod2

oint colblocks
number of columns used for DCTmod2

oipDCT2D* ip
DCT2D used to process each block

oint ip_output_size
output size of ipDCT2D and number of DCT coefficients

oint block_size
block size (square)

oint block_overlap
overlap between block [0block-1]

oint delta_neighbour
number of neighbouring blocks to consider for deltas

oint delta_keep
number of delta coefficients to keep

o ipDCTmod2(int width_, int height_, const char* coding_, int dim_dct, int block_size_, int block_overlap_, int delta_neighbour_, int delta_keep_)
constructor

Parameters:
width_ - is the width of the input image
height_ - is the height of the input image
coding_ - is the coding format of the input image
dim_dct - is the number of DCT coefficients to keep
block_size_ - is the size of blocks
block_overlap_ - is the overlap between blocks
delta_neighbour_ - is the number of neighbour blocks to take into accounts
delta_keep_ - is the number of delta coefficients to keep

ovirtual ~ipDCTmod2()

ovirtual void process(Sequence* seq_in)

oint getrowblocks()
get the number of rows

oint getcolblocks()
get the number of columns


This class has no child classes.
Author:
Sebastien Marcel (marcel@idiap.ch) Yann Rodriguez (rodrig@idiap.ch) Conrad Sanderson
Version:
2.0 Fri 15 Jul 2005 11:35:14 AM CEST
Since:
2.0
See Also:
ipDCT2D
ipBlock

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.