Using One hot Residue Number System (OHRNS) for Digital Image Processing

Similar documents
Using One hot Residue (OHR) in Image Processing: Proposed a Scheme of Filtering in Spatial Domain

JDT LOW POWER FIR FILTER ARCHITECTURE USING ACCUMULATOR BASED RADIX-2 MULTIPLIER

Modified Booth Encoding Multiplier for both Signed and Unsigned Radix Based Multi-Modulus Multiplier

Design and Analysis of RNS Based FIR Filter Using Verilog Language

International Journal of Scientific & Engineering Research Volume 3, Issue 12, December ISSN

A New network multiplier using modified high order encoder and optimized hybrid adder in CMOS technology

A New High Speed Low Power Performance of 8- Bit Parallel Multiplier-Accumulator Using Modified Radix-2 Booth Encoded Algorithm

An Efficient Design of Parallel Pipelined FFT Architecture

Comparative Study and Analysis of Performances among RNS, DBNS, TBNS and MNS for DSP Applications

An Optimized Implementation of CSLA and CLLA for 32-bit Unsigned Multiplier Using Verilog

High Speed Vedic Multiplier Designs Using Novel Carry Select Adder

Study on Digital Multiplier Architecture Using Square Law and Divide-Conquer Method

HIGH PERFORMANCE BAUGH WOOLEY MULTIPLIER USING CARRY SKIP ADDER STRUCTURE

A New Architecture for Signed Radix-2 m Pure Array Multipliers

Pipelined Linear Convolution Based On Hierarchical Overlay UT Multiplier

Design A Redundant Binary Multiplier Using Dual Logic Level Technique

Design and Characterization of 16 Bit Multiplier Accumulator Based on Radix-2 Modified Booth Algorithm

Totally Self-Checking Carry-Select Adder Design Based on Two-Rail Code

An Efficient Baugh-WooleyArchitecture forbothsigned & Unsigned Multiplication

DESIGN OF PARALLEL MULTIPLIERS USING HIGH SPEED ADDER

High performance Radix-16 Booth Partial Product Generator for 64-bit Binary Multipliers

VHDL based Design of Convolutional Encoder using Vedic Mathematics and Viterbi Decoder using Parallel Processing

Design of an Energy Efficient 4-2 Compressor

Design of an Efficient Edge Enhanced Image Scalar for Image Processing Applications

Mahendra Engineering College, Namakkal, Tamilnadu, India.

International Journal of Advance Engineering and Research Development

High Speed Binary Counters Based on Wallace Tree Multiplier in VHDL

Convolutional Coding Using Booth Algorithm For Application in Wireless Communication

Multiplier Design and Performance Estimation with Distributed Arithmetic Algorithm

Digital Image Processing

FOR HIGH SPEED LOW POWER APPLICATIONS USING RADIX-4 MODIFIED BOOTH ENCODER

Data Word Length Reduction for Low-Power DSP Software

Comparative Analysis of Multiplier in Quaternary logic

DESIGN & IMPLEMENTATION OF FIXED WIDTH MODIFIED BOOTH MULTIPLIER

Vector Arithmetic Logic Unit Amit Kumar Dutta JIS College of Engineering, Kalyani, WB, India

Modified Design of High Speed Baugh Wooley Multiplier

International Journal of Scientific & Engineering Research, Volume 5, Issue 11, November ISSN

Design and Implementation Radix-8 High Performance Multiplier Using High Speed Compressors

Novel Design of n-bit Controllable Inverter by Quantum-dot Cellular Automata

Published by: PIONEER RESEARCH & DEVELOPMENT GROUP ( 1

IJCSIET--International Journal of Computer Science information and Engg., Technologies ISSN

A Hardware Efficient FIR Filter for Wireless Sensor Networks

Low Power Approach for Fir Filter Using Modified Booth Multiprecision Multiplier

A Novel High Performance 64-bit MAC Unit with Modified Wallace Tree Multiplier

Low Power Design of Successive Approximation Registers

High Speed NP-CMOS and Multi-Output Dynamic Full Adder Cells

A New RNS 4-moduli Set for the Implementation of FIR Filters. Gayathri Chalivendra

An Efficient SQRT Architecture of Carry Select Adder Design by HA and Common Boolean Logic PinnikaVenkateswarlu 1, Ragutla Kalpana 2

EECS150 - Digital Design Lecture 23 - Arithmetic and Logic Circuits Part 4. Outline

Digital Integrated CircuitDesign

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Five-Input Majority Gate Based QCA Decoder

A Survey on Power Reduction Techniques in FIR Filter

S.Nagaraj 1, R.Mallikarjuna Reddy 2

Analysis Parameter of Discrete Hartley Transform using Kogge-stone Adder

Transforms and Frequency Filtering

DESIGN AND ANALYSIS OF VEDIC MULTIPLIER USING MICROWIND

CHAPTER 1 INTRODUCTION

SIGNED PIPELINED MULTIPLIER USING HIGH SPEED COMPRESSORS

Implementation of High Performance Carry Save Adder Using Domino Logic

Implementation of FPGA based Design for Digital Signal Processing

An Efficient Reconfigurable Fir Filter based on Twin Precision Multiplier and Low Power Adder

A Novel Architecture for Quantum-Dot Cellular Automata Multiplexer

An area optimized FIR Digital filter using DA Algorithm based on FPGA

ISSN Vol.03,Issue.02, February-2014, Pages:

Journal of mathematics and computer science 11 (2014),

Design and FPGA Implementation of High-speed Parallel FIR Filters

ASIC Implementation of High Speed Area Efficient Arithmetic Unit using GDI based Vedic Multiplier

A Design Approach for Compressor Based Approximate Multipliers

A Compact Design of 8X8 Bit Vedic Multiplier Using Reversible Logic Based Compressor

Decoding Distance-preserving Permutation Codes for Power-line Communications

Design Of A Parallel Pipelined FFT Architecture With Reduced Number Of Delays

Innovative Approach Architecture Designed For Realizing Fixed Point Least Mean Square Adaptive Filter with Less Adaptation Delay

FREDRIK TUFVESSON ELECTRICAL AND INFORMATION TECHNOLOGY

Detection and Verification of Missing Components in SMD using AOI Techniques

Introduction (concepts and definitions)

Binary Adder- Subtracter in QCA

Towards Efficient Modular Adders based on Reversible Circuits

A Review on Different Multiplier Techniques

Design and Implementation of ALU Chip using D3L Logic and Ancient Mathematics

International Journal of Computer Trends and Technology (IJCTT) Volume 40 Number 2 - October2016

[Krishna, 2(9): September, 2013] ISSN: Impact Factor: INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY

A HIGH SPEED FFT/IFFT PROCESSOR FOR MIMO OFDM SYSTEMS

Digital Image Processing. Digital Image Fundamentals II 12 th June, 2017

Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates

An Optimized Design of High-Speed and Energy- Efficient Carry Skip Adder with Variable Latency Extension

A NOVEL WALLACE TREE MULTIPLIER FOR USING FAST ADDERS

II. Previous Work. III. New 8T Adder Design

An Analysis of Multipliers in a New Binary System

An Efficient Method for Implementation of Convolution

Methods for Reducing the Activity Switching Factor

A NOVEL APPROACH OF VEDIC MATHEMATICS USING REVERSIBLE LOGIC FOR HIGH SPEED ASIC DESIGN OF COMPLEX MULTIPLIER

DESIGN OF LOW POWER MULTIPLIER USING COMPOUND CONSTANT DELAY LOGIC STYLE

Globally Asynchronous Locally Synchronous (GALS) Microprogrammed Parallel FIR Filter

Design of Parallel Prefix Tree Based High Speed Scalable CMOS Comparator for converters

PERFORMANCE COMPARISON OF HIGHER RADIX BOOTH MULTIPLIER USING 45nm TECHNOLOGY

DESIGN OF MULTIPLE CONSTANT MULTIPLICATION ALGORITHM FOR FIR FILTER

High Performance Low-Power Signed Multiplier

Design of an optimized multiplier based on approximation logic

AN EFFICIENT MAC DESIGN IN DIGITAL FILTERS

Transcription:

Using One hot Residue Number System (OHRNS) for Digital Image Processing Davar Kheirandish Taleshmekaeil*, Parviz Ghorbanzadeh**, Aitak Shaddeli***, and Nahid Kianpour**** *Department of Electronic and Computer Engineering, Ayandegan Institute of Higher Education, Tonekabon City, Iran, Davarkh@aiheacir **Department of Electronic and Computer Engineering, Ayandegan Institute of Higher Education, Tonekabon City, Iran, Pghorbanzadeh@aiheacir ***Department of Electronic and Computer Engineering, Ayandegan Institute of Higher Education, Tonekabon City, Iran, Shaddeli@aiheacir ****Department of Electronic and Computer Engineering, Islamic Azad University of Germi, Germi City, Iran, KianpourNahid@gmailcom Abstract: In this paper, the use of the one hot residue (OHR) number system for digital image processing and its application for designing fast, high-speed and low area image processors are studied Since digital image filtering in space domain requires many algebra computations, we're going to propose a system with high computing speed based on OHR Using proposed system can significantly enhance the speed of the computation operations and hence the system In the proposed image coding scheme the delay of implementation is equal to delay of a transistor which is a good improvement in compare with the conventional methods such as direct method Other advantages of using one hot residue (OHR) number system are its simplicity of implementation and minimum power dissipation Design of adder and multipliers commonly used for filtering with selected module set {2 n-1 +1, 2 n -1, 2 n } for one hot coding are presented here MATLAB was used for simulation studies while VLSI tools have been employed for design analysis The preliminary results show the capability of the proposed method to speed incensement of operation, decreasing of consumption power, facilitating designed hardware and finally decreasing chip production for image processing Keywords: Digital image processing, one hot residue number system (OHRNS), filtering, space domain 1 Introduction There is no doubt that every branch of science benefit from the processing of digital images Digital images are currently widely considered in all aspects of technology development Machine vision, satellite imaginary, medical applications, machine control products, military science and security, agriculture, urban design, graphic arts and multimedia are some examples of this category [1-3] Due to the large volume of computational operations in digital image processing techniques, exploring a way to increase the processing speed and reduce power consumption seems to be essential One hot encoding is a promising way in designing integrated circuits (ICs) with high speed and low power consumption Using this method introduces the lowest delay for addition and multiplication operations in RNS module and hence will increase the speed and reduce power consumption of the image processing circuits [4], [5] In [6], new circuits for OHR addition and subtraction using one barrel shifter structure are proposed The proposed circuits have reduced amount of hardware and are able to generate the addition and subtraction results simultaneously [7] has proposed adder modulo (r n -1) with improvements power consumption The authors have reached a significant reduction of applied transistors by scarifying the speed of the circuit and increasing the delay to 4 times the conventional OHR adders In this paper, design of adder and multipliers commonly used for filtering with selected module set {2 n-1 +1, 2 n -1, 2 n } for one hot coding are presented This paper is organized in the following order: Filtering of digital images is presented in Section 2 A review of OHR number system is described in Section 3 Details of proposed system are provided in Section 4 Lastly results are compared with previous works and conclusions are given in Sections 5 and 6, respectively 276

2 Filtering of Digital Images One of the most important operations in processing digital images is the image convolution operation Convolving digital images and the selected mask for many applications results in sharpening, noise removing and edge detection To display a grey scale image, a 2-D array (matrix) M*N is used where each index represents the brightness level of that point in the image The eight-bit grey value of each array element has a value between zero and 255 An image can be represented in MATLAB as below [2]: (1) Convolution based image processing can be applied either directly like Fourier transforms or indirectly as Hartley transform It states that element wise multiplications of two transformed sequences correspond to a cyclic convolution in the spatial domain The transforms directly possessing the convolution property can be defined generically as [8]: N 1 kn X k X nw k = 0 N-1 (2) n 0 F(1,1) F(2,1) F( x, y ) F(M,1) F(1,2) F(1, N) F(2,2) F(2, N) F(M,2) F(M,N) Where N is the transform length, Xn is the sequence to be transformed, Xk is the transformed sequence, and w is the transform kernel 3 One Hot Residue Number System One way to increase the speed of adding operation is using one hot encoding To represent the numbers in this system, m signals are used for m modulus where at each clock cycle only one signal is high (active) and other signals are low (deactivate) Each active signal is the respective residue in that module set [9] Table 1 shows decimal, binary and one hot residue module mi: TABLE I: Decimal, binary and one hot residue module m i Decimal 0 1 2 mi-1 Binary 000 00 000 01 000 10 000 01 One-Hot 1000 0 0100 0 00100 0000 1 To represent the numbers in this system, the residues modulo mi are from zero to mi-1 Implementation of circuits using OHR number system is simple and has regular structure since implementation of the adders using one hot system can be done by shift and rotates [10] 31 Structure of one hot adder for modulo mi In this structure, the first input is shifted according to the value of the second input and the result will be revealed at the output The delay of this operation is equal to delay of a transistor For subtraction it is needed to reverse shift the first input data respecting to the value of the second input Difficulties in implementing these types of circuits with one hot system are for large module sets since the number of transistors is increased exponentially Hence they are not usually recommended for large module sets [11] Figure 1(a) shows two entries for a module mi OHR adder: data entry and shift entry, and figure 1(b) illustrates how all operands are related to each other on the base of reminders [12] 277

(a) (b) Fig1: a) Block diagram of the one hot adder b) Addition position for module four 4 Proposed filtering operation Considering that the number of pixel values in a digital image is too much, a huge number of multiplications and additions of pixel values and the mask values is needed in digital filtering operations As a result, implementation of the filtering operation, or general operations related to processing digital images require a lot of overhead in processing speed and consumed power Hence, we should seek ways for processing operation in which multiplication and addition of pixel values can be done with high speed and low power consumption Since the values of image pixels are in a limited range, we intended to employ the OHR number systems that feature minimal power consumption and high speed of processing in the range of pixel values The OHR number system has a delay as small as delay of a transistor Additionally, because only one signal is active at each clock cycle, power consumption is at its minimum and arithmetic operations are done with more speed All these advantages make the use of one hot encoding for implementation of convolution operations efficient 41 Designing B/R and R/B converter circuits For convolution operations using OHR number system, we need circuits to convert binary numbers to OHR number and vice versa Converters can be designed to get the pixel values and convert them to OHR and then perform convolution operation on the residues using one hot adder and multipliers and then the resulting values must be converted back to binary weighted system So this process is divided into three main parts: a - Converting pixel values from binary numbers to OHR (B/R converter) b - Image convolution operations using one hot multipliers and adders c - Convert the results from OHR back to binary numbers (R/B converter) For conversion from binary to OHR, image pixels must be read first and then be converted to the OHR with the appropriate module set which is suitable for the pixels of digital images In R/B converters, the results of the filtering on images should be converted back to binary representation 42 Module set selection Module set selection and dynamic range has direct effect on speed of the process and implementation of efficient VLSI circuits for B/R and R/B converters Since the values of picture elements (pixels) in images have limited grey levels ranged between zero and 255, so to set up the system in OHR we should choose module set in a way that it cover the pixels of digital images The best module set for digital image processing operations are {2n-1+1, 2n-1, 2n} For n = 3 the module set is {5, 7, 8} This module set has dynamic range M =5*7*8=280, ie [0, M) is a range of numbers that certainly will cover digital image pixel values 278

43 Design one hot adder and multiplier for the selected module set Given the selected module set of {5, 7, 8}, so the circuits of adders and multipliers should be designed and implemented according to the given module set Adder and multiplier module 5, 7 and 8 are depicted in figures 2-4 and 5-7, respectively: Fig 2: Structure of the one hot module 5 adder Fig 3: Structure of the one hot module 7 adder Fig4: Structure of the one hot module 8 adder 279

Fig 5: Structure of one hot module 5 multiplier Fig 6: Structure of one hot module 7 multiplier Fig 7: Structure of one hot module 8 multiplier 280

5 Comparison Since the number of adding and multiplying operations for digital image filtering is very high, further comparisons have been done based on the time of these operations If any delay of the carry is considered as δ, addition operation for the binary numeral system, for an 8-bit grey scale image introduces a delay of 8δ to the system However, the delay of computation in residue number systems for the selected module set {5, 7, 8} is equal to the delay for the maximum modulus (3δ), and the delay for the proposed OHR system is equal to delay of one transistor Table II compares some performance criteria s of one hot system with conventional numerical systems that are used for digital image processing OHR system has higher computational speed, lower power consumption and also simple structure in hardware implementation TABLE II: comparison of performance of different arithmetic demos for digital image processing Binary RNS OHRNS Implementation complexity High Medium low Delay Very High (maximum number of bits) ( ) High (maximum number of bits selected module) ( ) Low (delay of a transistor) 8 3 Speed of operations Low Medium High Power Consumption High Medium Low 6 Conclusions Since adding and multiplying operations in digital image filtering introduces a huge overhead in processing speed and power consumption, arithmetic operations are performed using proposed one hot adder and multiplier which has only a delay of one transistor on each operation The proposed system is fast and also because only one signal is active at each clock cycle, the power consumption is less This system is very simple and has regular structure for the proposed module set All these advantages make the use of one hot encoding the best choice for implementation of circuits that can be used for processing of digital images The proposed system can also be used for any other types of images References Arnold, MG;, "The residue logarithmic number system: theory and implementation," Computer Arithmetic, 2005 ARITH-17 2005 17th IEEE Symposium on, pp 196-205, 27-29 June 2005 Taleshmekaeil, DK, Mousavi, A, "The use of Residue Number System for improving the Digital Image Processing," Signal Processing (ICSP), 2010 IEEE 10th International Conference on, pp775-780, 24-28 Oct 2010 Mousavi, A, Taleshmekaeil, DK, "Pipelined Residue Logarithmic Numbers System for general modules set {2n-1, 2n, 2n+1}," Computer Sciences and Convergence Information Technology (ICCIT), 5th International Conference on, pp699-703, 30th Nov 2nd Dec 2010 S J Jassbi, M Hosseinzadeh, S Gorgin, K Navi, One-hot multi-level residue number system, IEEE EWDTS, Yerevan, pp 733 738, 2007 Hosseinzadeh M, Jassbi S J, Navi K, A novel multiple valued logic OHRNS modulo r n adder circuit, Proceedings of world academy of science, engineering and technology, vol 25, pp128-132, Nov 2007 Labafniya, M, Eshghi, M, "An efficient adder/subtracted circuit for one-hot residue number system," Electronic Devices, Systems and Applications (ICEDSA), Intl Conf on, pp121-124, 11-14 April 2010 Hosseinzadeh M, Jafarali Jassbi S, Navi K, A novel multiple valued logic OHRNS adder circuit for modulo (rn- 1), The 4th international conference on advanced engineering computing and applications in sciences, ADVCOMP, pp166-170, 2010 Toivonen T, Heikkila J, "Video filtering with Fermat number theoretic transforms using residue number system," Circuits and Systems for Video Technology, IEEE Transactions on, vol16, no1, pp 92-101, Jan 2006 Wei Wang, MNS Swamy, RNS application for digital image processing Department of Electrical & Computer Engineering, the University of Western Ontario, London, Ontario, Canada Ammar, A, Al Kabbany, A, Youssef, M, Amam, A, "A secure image coding scheme using residue number system," Radio Science Conference, 2001 NRSC 2001 Proceedings of the Eighteenth National, vol2, pp399-405 vol2, 2001 P Pirsch and H-J Stolberg, VLSI implementations of image and video multimedia processing systems, IEEE 281

Trans on Circuits and Systems for Video Technology, vol 8, no 7, pp 878-891, 1998 Jassbi, SJ, Navi, K, Khademzadeh A, "An optimum module set in residue number system", International mathematical forum 5, no 59, pp 2911 2918, 2010 282