• Tidak ada hasil yang ditemukan

Efficient Implementation of Mean Formula for Image Processing using FPGA Device

N/A
N/A
Protected

Academic year: 2018

Membagikan "Efficient Implementation of Mean Formula for Image Processing using FPGA Device"

Copied!
19
0
0

Teks penuh

(1)

Efcient Implementation

of Mean Formula for Image

Processing

using FPGA Device

(2)

Introduction

Digital image processing is a proses for manipulating and analysing image with computer.

Image processing can be divided into two kind of activities :

 Increasing the quality of image for easy interpretation by human eye, this activity known as image enhancement

(3)

Previous Research

(1)

Some image processing uses basic statistic formula such as :

histogram, mean, variance, etc. In embedded environtment those formula must be implemented in hardware base, like FPGA for example.

A research for histogram calculation for 8x8 image need 256 addition,

(4)

Previous Research

(2)

 Other research for histogram and mean calculation base on

(5)

IMAGE PROCCESSING FORMULA

(1)

Histogram Formula

Image histogram is a diagram that draw frequency of the appearance every intensity value from the whole image pixel element. The higher value of histogram show the number of pixels with that intensity value is high and vice versa. Histogram can show the brightness and contrast of the image. A lot of use histogram in image texture analysis because of the simplicity of the algorithm.

Histogram mathematical formula is :

H(i) is histogram of the image with NxM size and

i is intensity value of the pixel in the image.

(6)

Example of a histogram diagram comming from several

image.

http://www.freeimages.com/search/texture

Histogram smooth texture

Histogram regular texture

(7)

IMAGE PROCCESSING FORMULA

(2)

From the histogram value we can calculate the ‘mean’ value from the image.

Mathematical formula for ‘mean’ (µ) is :

 In this formula i is grey level of intensity pixel in the image and p(i) is the probability of occurence i.

L is the higher value of grey level i. This formula will produce an average brightness of objects

(8)

Pixel Image (NxM)

(9)

AGORITHM (1)

 Mean is the frst-order statistical analysis methods used for segmentation and feature extraction processes an image.

Psudo code 1. Mean formula ( 1st version)

(10)

 Referring to the equation (2) and (1) where the mean is calculated by using the calculation result histogram, equation (3) is proposed :

Psudo code 2 is the revised algorihtm with some efciency,

reducing the loop and mathematical operation.

PROPOSED ALGORITHM (2)

Psudo code 2. Mean formula ( revised version)

(11)

Result Matlab

(12)

HARDWARE IMPLEMENTATION (1)

 Component design for psudo code[1] :

Shown in the picture, is the frst design based on frst pseudo

code, this design need a selector to select intensity value of pixel from the image between 0 to 255 and send to thier respective accummulator (256 accumulator with 256 addition component).

All these accumulator value will be send to 256 input

addition (or another 256 addition),

So we need 512 addition for this design. And fnnally to

(13)

HARDWARE

IMPLEMENTATION

(2)

Component design for psudo code[2] :

Further, shown in the picture is new design of the design of the

previous image.

To calculate mean value actually we don’t have to calculate

histogram, to hold the total value of pixel element value

(htsum) in the 2nd pseudo code

This approach give us the reduction of mathematical operation

(component)

This design only need one addition in one accumulator and one

(14)

Entity Diagram of efficient component

(15)

Simulation result for proposed

component

(16)

CONCLUSSION

 The efcient implementation of mean formula into harware

base compponent using FPGA device has been proposed.

This component use one addition and one shift right register

with 64 clock cycles to calculate mean value for 8x8 image size.

 This design needs 14 slices of fip-fops and 14 of 4 input

LUTs.

 The diference (as an error) of mean value comparing to

(17)

References

Nitin Sachdeva and Tarun Sachdeva,“ An FPGA Based Real-time Histogram Equalization Circuit for Image Enhancement”, International Journal of Electronics and Communication Technology (IJECT) Vol 1 Issue 1 December 2010.

Atit Pertiwi, “Optimalisasi Metode Implementasi Algoritma Histogram, Mean Dan Variansi Ke Dalam IC-FPGA Untuk Aplikasi Analisis Tekstur Citra Real Time”, Disertasi, Teknologi Informasi, Universitas Gunadarma, 2015.

Luca Maggiani, Claudio Salvadori, Matteo Petracca, Paolo Pagano, Roberto Saletti, “Reconfgurable Archictecture for Computing Histograms in Real-Time Tailored to FPGA-based Smart Camera”, Industrial Electronics (ISIE), IEEE 23rd International Symposium on , Istambul Turkey, June 2014.

Wendy L. Martinez and Angel R. Martinez, “Computational Statistics Handbook

with MATLAB”, Chapman & Hall/CRC, USA, 2002.

R.E. Woods , S.L. Eddins , dan R.C. Gonzales, “Digital Image Processing Using MATLAB . Pearson Educatio, 2005.

(18)
(19)

Referensi

Dokumen terkait

Adanya perlakuan yang dilaksanakan pada Tahun 1987 yaitu pembuatan Parit Jebakan Air di Desa Sikumana dengan panjang parit 6.025 m dengan dimensi 1 m x 1 m, dan debit limpasan

Demikian kami sampaikan atas perhatiannya diucapkan terima kasih.. PEJABAT PENGADAAN BARANG /

Pertanian berwawasan lingkungan adalah pengembangan sistem pertanian yang spesifik lokasi dengan mempertimbangkan kondisi agroekosistem. Pertanian merupakan kegiatan menanami

Penelitian ini diharapkan dapat memberikan informasi mengenai kondisi vegetasi dan keanekaragaman jenis ikan yang dapat dijadikan sumber informasi oleh masyarakat sekitar

Sebuah skripsi yang diajukan untuk memenuhi salah satu syarat memperoleh gelar Sarjana pada Fakultas Pendidikan Ilmu Pengetahuan Sosial. © Farhan Firdaus 2014 Universitas

METOD E LATIHAN KOMAND O D AN METOD E LATIHAN SELF CHECK TERHAD AP KETERAMPILAN SHOOTING FREE THROW D ALAM BOLABASKET.. Universitas Pendidikan Indonesia | repository.upi.edu

Decision 17/CP.22 paragraph 2 ‘encourages Parties to continue to promote the systematic integration of gender-sensitive and participatory education, training, public awareness,

We find that low Raven participants use simple learning strategy: they imitate the other when the recent payoffs they received after imitation are high. High Raven score