linear discriminant analysis using entrophy coding ... · pdf filelinear discriminant analysis...

8
2 nd International Conference on Engineering Innovations and Solutions (2'ICEIS 2017) Seventh Sense Research Group www.internationaljournalssrg.org Page 178 Linear Discriminant Analysis Using Entrophy Coding Andpixel-Grain Prediction v.padmaja #1 , k.sumitha #2 ,s.vijayakumar*3 # pg student [Communication system],dept.ofece, ,As-salam engineering and technology,aduthurai,tamilnadu,india # pg student [Communication system],dept.ofece, ,As-salam engineering and technology, aduthurai,tamilnadu,india # 1Assistant Professor [O.G], Dept.of ECE, As-salam engineering and technology, aduthurai ,Tamilnadu,india # 2 I. INTRODUCTION Video coding has been developed in response to the demands in decreasing bitrates in video broadcasting in order to use communication resources more efficiently. Due to various applications and related data rates many algorithms have been developed so far. In one group of algorithms the video signals are coded regardless of the content. In the other group the regions and objects in a video sequence are identified and then coded. These two major groups are called waveform-based video coder and content-dependent video coder, respectively. The components involving in the video coding algorithms can be shown as in Fig1.1. This model is based on the assumption about spatial and temporal correlation between pixels and sequences or considering the shape and the motion of objects. The source model would be luminance and chrominance amplitudes of each pixel. In the other case, if the model is describing a scene as several objects, the parameters will be shape, texture, and motion of each object. In the quantization stage, the data are quantized according to suitable trade- off between bit-rate and distortion Fig.1 Overview of Video Coding System When it goes to encoder, the very basic step of the video coding process would be describing the video sequence using the defined parameters of related source model. In the case that the source model is statistically independent pixels, the

Upload: lenhu

Post on 11-Mar-2018

221 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Linear Discriminant Analysis Using Entrophy Coding ... · PDF fileLinear Discriminant Analysis Using ... Prediction v.padmaja#1, k.sumitha#2,s.vijayakumar*3 #pg student [Communication

2nd

International Conference on Engineering Innovations and Solutions (2'ICEIS – 2017)

Seventh Sense Research Group www.internationaljournalssrg.org Page 178

Linear Discriminant Analysis Using

Entrophy Coding Andpixel-Grain

Prediction

v.padmaja#1, k.sumitha#2,s.vijayakumar*3

#pg student [Communication system],dept.ofece, ,As-salam engineering and technology,aduthurai,tamilnadu,india

#pg student [Communication system],dept.ofece, ,As-salam engineering and technology, aduthurai,tamilnadu,india

#1Assistant Professor [O.G], Dept.of ECE, As-salam engineering and technology, aduthurai ,Tamilnadu,india#2

I. INTRODUCTION

Video coding has been developed in

response to the demands in decreasing

bitrates in video broadcasting in order

to use communication resources more

efficiently. Due to various

applications and related data rates

many algorithms have been developed

so far. In one group of algorithms the

video signals are coded regardless of

the content. In the other group the

regions and objects in a video

sequence are identified and then

coded. These two major groups are

called waveform-based video coder

and content-dependent video coder,

respectively. The components

involving in the video coding

algorithms can be shown as in Fig1.1.

This model is based on the

assumption about spatial and temporal

correlation between pixels and

sequences or considering the shape

and the motion of objects.

The source model would be

luminance and chrominance

amplitudes of each pixel. In the other

case, if the model is describing a

scene as several objects, the

parameters will be shape, texture, and

motion of each object. In the

quantization stage, the data are

quantized according to suitable trade-

off between bit-rate and distortion

Fig.1 Overview of Video

Coding System

When it goes to encoder, the very

basic step of the video coding

process would be describing the

video sequence using the defined

parameters of related source model.

In the case that the source model is

statistically independent pixels, the

Deepa
Text Box
ISSN : 2348 - 8549 www.internationaljournalssrg.org Page 11
Deepa
Text Box
SSRG International Journal of Electronics and Communication Engineering - (2'ICEIS - 2017) - Special Issue - April 2017
Page 2: Linear Discriminant Analysis Using Entrophy Coding ... · PDF fileLinear Discriminant Analysis Using ... Prediction v.padmaja#1, k.sumitha#2,s.vijayakumar*3 #pg student [Communication

2nd

International Conference on Engineering Innovations and Solutions (2'ICEIS – 2017)

Seventh Sense Research Group www.internationaljournalssrg.org Page 179

parameters of the source model

would be luminance and

chrominance amplitudes of each

pixel. In the other case, if the model

is describing a scene as several

objects, the parameters will be shape,

texture, and motion of each object. In

the quantization stage, the data are

quantized according to suitable trade-

off between bit-rate and distortion.

The last step in the encoder is using

lossless coding techniques in order to

obtain binary code words. The

resulting bit stream is carried over

the communication channel. The

decoder utilizes inverse methods for

quantized binary coded bit streams.

Then the synthesis block in the

decoder computes the decoded video

frame using the quantized parameters

of the source model. In continuation

of this very short introduction of

video coding, the High Efficiency

Video Coding (HEVC) standard as

the main focus of this document will

be investigated in more details and in

coming chapters the implementation

of part of this standard (Intra-Frame

prediction) using MATLAB will be

covered.

II PROPOSED WORK

A. PIXEL GRAIN DIRECTIONAL

PREDICTION METHOD

We first develop a pixel grain

directional prediction method to

further reduce the power of the

prediction residuals. Next, we adopt

dynamic kth

order unary/Exp-Golomb

rice coding to improve the

compression rate when addressing

large residue values. Finally, we

propose a partition group table-based

storage scheme. The contributions of

the paper are summarized as follows:

A self-contained directional Intra

prediction algorithm is provided. This

algorithm possesses two primary

features: First, the energy of the

prediction residues is reduced by

54.1% compared to the original

vertical/horizontal prediction.

Second, the prediction angle is

deduced using the texture

correlations, which discards the

dependency on the encoder or decoder

auxiliary information to improve the

applicability.

• Dynamic order unary Golomb rice

coding is adopted to achieve

comprehensive adaptability,

especially when processing large-

valued prediction residues in high bit-

depth videos, such as the 30 bpp

sequences Nebula Festival

And Steam Locomotive Train.

• Based on the high compression rate

of the proposed compression

algorithm, the partition group table-

based storage scheme is used to

reduce not only the memory

Space requirements but also the

dynamic power requirements of the

DRAM.

• Finally, the corresponding VLSI

architectures are developed to

implement the compressor and this

decompress or. In the prediction

engine design, the algorithm and

Deepa
Text Box
ISSN : 2348 - 8549 www.internationaljournalssrg.org Page 12
Deepa
Text Box
SSRG International Journal of Electronics and Communication Engineering - (2'ICEIS - 2017) - Special Issue - April 2017
Page 3: Linear Discriminant Analysis Using Entrophy Coding ... · PDF fileLinear Discriminant Analysis Using ... Prediction v.padmaja#1, k.sumitha#2,s.vijayakumar*3 #pg student [Communication

2nd

International Conference on Engineering Innovations and Solutions (2'ICEIS – 2017)

Seventh Sense Research Group www.internationaljournalssrg.org Page 180

circuit co-optimization reduces the

hardware costs by 61% while

improving the speed by 11%.

For the compressor VLSI

design, the parallel architecture is

introduced to enhance the throughput.

In this decompress or design, the

luminance and chrominance alternate

processing can effectively avoid the

bubbles in pipelining.

B. Self-Contained Directional Intra

Prediction

Intra prediction is a

conventional method used in memory

compression algorithms that can

reduce the entropy of the coded

symbols. The studies in all applied

such an approach. However, the

previous works directly calculated the

Prediction signals from the vertical or

horizontal neighboring pixels, which

forfeits the compression performance

with the low prediction accuracy. The

study in proposed 8 types of8×8-

block-based intra predictions modes,

and the candidate

type was determined using the rate

distortion optimization (RDO) result

of the HEVC intra encoder. Although

the method can increase the prediction

efficiency, the reference information

can only be obtained from CUs,

which has been tested

With Intra coding modes. Hereafter, it

is difficult to apply this algorithm to

compress the CUs, which skip the

intra coding exploration. Especially

for the decoder side, for the P and B

mode CUs, the required auxiliary

prediction information is not

available.

Fig2 compression and

decompression algorithm

HARDWARE

IMPLEMENTATION

Figure 2 provides the top block

diagram of the proposed compressor

with the directional intra prediction

and the korder UEG-Rice coding.

The input signals are 16×16

partitions of reconstructed pictures,

input from the encoder or the

decoder.To improve the throughput, a

two-engine architecture is devised.

For the 16×16 luma partition, the

pixels in the odd and even rows are

processed in parallel. Because the

order k value of the top-right pixel is

required when encoding the current

pixel, we adopt the wave front mode.

Specifically, the compression process

of the previous row should be at least

two pixels in advance of that of the

current row. On the other hand,

because a data dependency does not

exist between the U and V partitions,

the U and V 8×8 partitions can be

simultaneously encoded. The coded

data of the odd and even rows are

Deepa
Text Box
ISSN : 2348 - 8549 www.internationaljournalssrg.org Page 13
Deepa
Text Box
SSRG International Journal of Electronics and Communication Engineering - (2'ICEIS - 2017) - Special Issue - April 2017
Page 4: Linear Discriminant Analysis Using Entrophy Coding ... · PDF fileLinear Discriminant Analysis Using ... Prediction v.padmaja#1, k.sumitha#2,s.vijayakumar*3 #pg student [Communication

2nd

International Conference on Engineering Innovations and Solutions (2'ICEIS – 2017)

Seventh Sense Research Group www.internationaljournalssrg.org Page 181

merged into one stream and stored in

the output buffer.

16×3×2=96 bits. In our design,

by strictly scheduling the two engines,

we can discard the k′ values in ENG0

that are no longer required by ENG1,

and the freed memory space can be

used by ENG1 for its k′ value.

Fig.3 Architecture of the proposed

de-compressor

Dynamic k-th-Order Unary/Exp-

Golomb Rice Coding

Our entropy coding algorithm

is based on adaptive-order unary/Exp-

Golomb rice coding. Specifically,

with the provided order k, we define

the quantization step as 2k. The

remainder r is transmitted following

the coded quotient. The coded

examples with input values in the

range of [0,15] and the orders k ∈ {0,

1, 2}. The underline separates the

quotient part and the remainder part.

When x 6= 0, the sign bit is stored

after the coded quotient part and the

remainder part.

TABLE 1 prediction performance

analysis in terms of sum 16x16

LUMA BLOCK:

Clas

s

Sequence M01)

M12)

M23)

A

People on

street

2124

4

1099

8

9561

Traffic 1113

4

6235 5803

B

Park

scene

7983 6694 7286

Tennis 4715 1918 2234

C

Basketba

ll

3029

6

2853

0

2250

9

Race

horse

1288

9

1539

9

2223

4

D

Basket

pass

4023

6

2247

1

1976

1

Blowing

bubbles

2680

8

1490

2

1976

7

AVERA

GE

2067

8

1130

9

1027

4

Decompressor Implementation

Figure 4.6 depicts the top block

diagram of the decompressor. Based

on the index information from the PG

table, the decompressor derives the

begin address, the length and the CSF

of the luma and chroma partitions.

The begin address and the length

values guide the memory controller to

adopt the optimal read mode and burst

length to fetch the compressed data

from the system DRAM. The

Deepa
Text Box
ISSN : 2348 - 8549 www.internationaljournalssrg.org Page 14
Deepa
Text Box
SSRG International Journal of Electronics and Communication Engineering - (2'ICEIS - 2017) - Special Issue - April 2017
Page 5: Linear Discriminant Analysis Using Entrophy Coding ... · PDF fileLinear Discriminant Analysis Using ... Prediction v.padmaja#1, k.sumitha#2,s.vijayakumar*3 #pg student [Communication

2nd

International Conference on Engineering Innovations and Solutions (2'ICEIS – 2017)

Seventh Sense Research Group www.internationaljournalssrg.org Page 182

neighboring pixels are required to

perform the directional prediction

during the decompression process.

Those four rows of pixels should be

stored; therefore, the sizes of the two

SRAM are 32bit×16word

Scheduling, We observe that every

three cycles, only one pixel is

decoded. The hardware utilization is

only 33%.

Because the dependency of the

odd and even rows in Y can be

ameliorated with the wave front

decoding mode and because

dependencies among luma and

chroma partitions do not exist, we

apply the interchange decoding of Y

odd row, Y even row and UV

components to increase the pipeline

efficiency, as described by Fig. 9(b).

With the proposed schedule, the

hardware utilization is improved to up

to 100%.

Fig4 Block diagram of two Parallel

Code Structure

We apply the two-parallel-

codec structure to simultaneously

handle two partitions in one PG. To

address the storage space

compression, SRAM is applied to

cache the encoded bit stream of the

second partition.

Specifically, the space

compression is in PG granularity.

During the encoding, the first engine

directly writes its output with a 32-bit

grain to the memory controller,

because its begin address has been

determined. However, the second

engine needs to write its output

stream to the SRAM.

For the writing from the SRAM

to the memory controller, there are

two situations that must be discussed.

During the encoding procedure, if

either DRR of the two engines is less

than 50%, then the begin address of

the second engine is determined.

Thereafter, the memory controller can

fetch the buffered data in the SRAM,

and the empty entries are left for the

new coded stream. Otherwise, 2) at

the end of the encoding of one PG, if

two partitions can share the same

partition space, then the data in the

SRAM can be dispatched to the

memory controller. Therefore, the

minimum volume of the SRAM is

32bit×48word, which is half of the

original partition size. The memory

controller [uses a Read Reorder

Buffer (RRB) . Level-D search region

data reuse is adopted in our design.

III RESULTS

Deepa
Text Box
ISSN : 2348 - 8549 www.internationaljournalssrg.org Page 15
Deepa
Text Box
SSRG International Journal of Electronics and Communication Engineering - (2'ICEIS - 2017) - Special Issue - April 2017
Page 6: Linear Discriminant Analysis Using Entrophy Coding ... · PDF fileLinear Discriminant Analysis Using ... Prediction v.padmaja#1, k.sumitha#2,s.vijayakumar*3 #pg student [Communication

2nd

International Conference on Engineering Innovations and Solutions (2'ICEIS – 2017)

Seventh Sense Research Group www.internationaljournalssrg.org Page 183

This chapter describes

simulation results of compressed

satellite images.

HYPERSPECTRAL IMAGE

COMPRESSION OUTPUT

(a)

(b)

The fig(a) shows the original

image it is collect and send the data

from the process and the fig(b) shows

the fig is input to gray image is

converted the image from pixel is

4x4blocks.

(c)

(d)

The fig(c) & (d) shows the chroma

images and the luminated separated

images is the prediction technique to

be used and it has merged the

important spectral pixel images. The

luminant images is the coloured

image it is easily predicted of

identified the compression.

Deepa
Text Box
ISSN : 2348 - 8549 www.internationaljournalssrg.org Page 16
Deepa
Text Box
SSRG International Journal of Electronics and Communication Engineering - (2'ICEIS - 2017) - Special Issue - April 2017
Page 7: Linear Discriminant Analysis Using Entrophy Coding ... · PDF fileLinear Discriminant Analysis Using ... Prediction v.padmaja#1, k.sumitha#2,s.vijayakumar*3 #pg student [Communication

2nd

International Conference on Engineering Innovations and Solutions (2'ICEIS – 2017)

Seventh Sense Research Group www.internationaljournalssrg.org Page 184

E) Image Binarised

The fig (e) shows the image

binarised of the data. The binarised

technique can encoded the data from

the binary value of“0 and 1” .The

structure im2bw (16 blocks) to be

used and compressed from getting the

hyper spectral image.

F) PGP BLOCK 1921

The fig(f)shows the pixel grain

prediction block it has a vertical lines.

The number of rows and columns is

also vertical blocks .This blocks

contains 1921.

G) Pixel Grain Prediction

H) Spectral of Satellite Images

I) Features of Transform Images

Deepa
Text Box
ISSN : 2348 - 8549 www.internationaljournalssrg.org Page 17
Deepa
Text Box
SSRG International Journal of Electronics and Communication Engineering - (2'ICEIS - 2017) - Special Issue - April 2017
Page 8: Linear Discriminant Analysis Using Entrophy Coding ... · PDF fileLinear Discriminant Analysis Using ... Prediction v.padmaja#1, k.sumitha#2,s.vijayakumar*3 #pg student [Communication

2nd

International Conference on Engineering Innovations and Solutions (2'ICEIS – 2017)

Seventh Sense Research Group www.internationaljournalssrg.org Page 185

J) Compressed Image

(k)Decoded image

L) (i) Reconstructed Original image

(ii) Reconstructed Input gray

The fig (g,h,i,j,k,l) shows the

pixel grain prediction and spectral

satellite images to encode the features

of transform images and compressed.

When encode images are to be

transformed the decode image and

finally we get the decoded images can

be reconstructed original image and

input gray image.

CONCLUSION

To reduce the dynamic power

requirements of DRAM in the video

codec system, this paper proposes a

lossless compression algorithm that

reduces the external traffic and

storage requirements of the reference

frames. First, pixel granularity

adaptive directional prediction is

adopted to reduce the prediction

residual energy. Second, dynamic

order unary/Exp-Golomb rice coding

is applied to accommodate the large-

valued prediction residuals. The

experimental results demonstrate that,

the proposed algorithm reduced the

off-chip data traffic by 68.5% on

average. Based on TSMC 65-nm

CMOS technology, our parallel

compressor and decompressor

achieved the peak-age throughputs of

1.54 and 0.78 Gpixel/s, respectively,

which can handle QHFD(4K)@94fps

real-time encoding by applying the

level-D reference data reuse scheme.

Deepa
Text Box
ISSN : 2348 - 8549 www.internationaljournalssrg.org Page 18
Deepa
Text Box
SSRG International Journal of Electronics and Communication Engineering - (2'ICEIS - 2017) - Special Issue - April 2017