SCAMP-5c Vision System  1.0.0
An image sensor with a parallel processor on focal plane
Files
PE Analogue Operation Macros

provide a relatively care-free version of the basic PE analogue operations More...

Files

file  pe_analog_macros.h
 

Detailed Description

provide a relatively care-free version of the basic PE analogue operations

Introduction

Most of these macro provide a relatively carefree version of the PE operations. That is, they produce less error and handle the analogue polarity issue. For example, "A = pe.copy(B)" execute an idealized copy operation, with polarity of the image preserved and the offset error reduced.

Note, in these macros, the result AREG cannot be same as any of the source AREGs. For example, "A = pe.add(A,B)" is invalid.

Alternative Names

Some of these macros can be used without the "pe." prefix.

Macro Name Alternative Name
pe.rpix rpix
pe.copy copy
pe.add add
pe.sub sub
pe.div div
pe.abs abs
pe.neg neg
pe.in in
pe.north north
pe.east east
pe.west west
pe.south south