background image

5 Functionality

5.1.4

Decimation (colour cameras)

Decimation reduces the number of pixels in y-direction by skipping rows and in x-direction by
skipping columns. Decimation in colour cameras is slightly different from the monochrome
cameras, because the order of the Bayer pattern must be maintained.
Beginning from the first row, always two rows are read out and then an even number of rows
are skipped, when decimation in y is configured. Beginning from the first column, always two
columns are read out and then an even number of columns are skipped, when decimation in x
is configured. The red rows and columns in Fig. 5.5 are read out and the total number of rows
is the sum of the red rows and the total number of columns is the sum of the red columns.
The number of skipped rows for y decimation d are:

H

skip

= (

d

1)

2

The resulting number or rows for Window.H=h:

h

tot

= 2

floor (

h/d

) + min(

h

mod (2

d

)

,

2)

The number of skipped columns for x decimation d are:

W

skip

= (

d

1)

2

The resulting number or rows for Window.W=w:

w

tot

= 2

floor (

w/d

) + min(

w

mod (2

d

)

,

2)

The total number of rows can be read by the property

Window.HInterface

.

The total number of columns can be read by the property

Window.WInterface

Decimation

H

skip

W

skip

2

2

2

3

4

3

4

6

6

5

8

8

Table 5.2: Values of

H

skip

and

W

skip

as a function of decimation

Window.H

h

tot

, d=2

h

tot

, d=3

h

tot

, d=4

640

320

214

160

1024

512

342

256

Table 5.3: Examples of total rows in colour decimation

Window.W

w

tot

, d=2

w

tot

, d=4

w

tot

, d=8

640

320

160

80

1280

640

320

160

Table 5.4: Examples of total clumns in colour decimation

5.1.5

2x2 Binning

The 2x2 binning in monochrome and NIR cameras combine 2 adjacent pixels horizontally and
vertically into one pixel by performing an addition. It reduces the number of pixels by 2 in x-

26

Summary of Contents for CameraLink MV1-D1280

Page 1: ...User Manual Photonfocus MV1 D1280 CameraLink Series CMOS Area Scan Camera MAN058 05 2013 V1 1...

Page 2: ......

Page 3: ...responsibility is assumed by Photonfocus AG for its use Photonfocus AG reserves the right to make changes to this information without notice Reproduction of this manual in whole or in part by any mean...

Page 4: ...2...

Page 5: ...guration 21 5 Functionality 23 5 1 Reduction of Image Size 23 5 1 1 Region of Interest ROI 23 5 1 2 Flip Image Mirror Image 24 5 1 3 Decimation monochrome cameras 24 5 1 4 Decimation colour cameras 26...

Page 6: ...ontrol Tool 53 7 1 Overview 53 7 2 PFRemote and PFLib 53 7 3 Operating System 53 7 4 Installation Notes 53 7 5 Graphical User Interface GUI 54 7 5 1 Port Browser 54 7 5 2 Ports Device Initialization 5...

Page 7: ...B Revision History 81 CONTENTS 5...

Page 8: ...CONTENTS 6...

Page 9: ...egree of quality 1 2 Contact Photonfocus AG Bahnhofplatz 10 CH 8853 Lachen SZ Switzerland Sales Phone 41 55 451 00 00 Email sales photonfocus com Support Phone 41 55 451 00 00 Email support photonfocu...

Page 10: ...ving been obtained from Photonfocus AG Photonfocus can not be held responsible for any technical or typographical er rors 1 5 Legend In this documentation the reader s attention is drawn to the follow...

Page 11: ...e following specifiers are used in this manual D digital standard area scan cameras Sensor width All cameras covered in this manual use sensors with a width of 1280 pixels Sensor type Available sensor...

Page 12: ...enhanced sensor Colour Cameras that have a colour sensor Name Resolution Camera Family Abbreviation NIR Color MV1 D1280 120 CL 10 1 3 MPix D camera D 120 no no MV1 D1280C 120 CL 10 1 3 MPix D camera D...

Page 13: ...lity of the system CameraLink cables can be purchased from directly Photonfocus www photonfocus com in some countries A suitable power supply A suitable power supply can be purchased at your Photonfoc...

Page 14: ...ith a suitable CameraLink cable see Fig 3 2 Figure 3 2 Camera with frame grabber power supply and cable Do not connect or disconnect the CameraLink cable while camera power is on For more information...

Page 15: ...rsion of PFRemote on the support page at www photonfocus com 9 Install the camera software PFRemote Please follow the instructions of the PFRemote setup wizard Figure 3 3 Screen shot PFremote setup wi...

Page 16: ...3 How to get started CameraLink Figure 3 4 PFRemote start window 14...

Page 17: ...range monochrome standard 350 930 nm NIR enhanced 350 1000 nm Global shutter Micro lenses Colour cameras Bayer pattern filter and cut off filter 660nm CameraLink base interface Frame rates of the D 12...

Page 18: ...n Interface CLSERIAL 9 600 baud up to 1 5Mbaud user selectable Trigger Modes Interface Trigger External opto isolated trigger input Image pre processing 2 look up tables 12 to 8 bit on user defined im...

Page 19: ...ocus com Name Sensor Resolution FPS NIR Color MV1 D1280 120 CL 10 EV76C560ABT EQV 1280 x 1024 65 fps no no MV1 D1280C 120 CL 10 EV76C560ACT EQV 1280 x 1024 65 fps no yes MV1 D1280I 120 CL 10 EV76C661A...

Page 20: ...al range of I models 350 to 1000 nm to 10 of peak responsivity Spectral range of colour models 390 to 670 nm to 10 of peak responsivity Responsivity 6600 LSB lux s 10bit Dark current 24 LSB s 25 C 10b...

Page 21: ...tum efficiency curve of the EV76C560 monochrome and colour and the EV76C661 NIR sensors from E2V measured in the wavelength range from 400 nm to 1000 nm E V 7 6 C 5 6 0 E V 7 6 C 6 6 1 Q u a n t u m E...

Page 22: ...off filter Figure 4 3 Transmission curve of the cut off filter in the Photonfocus 1280 colour camera models 4 5 RGB Bayer Pattern Filter Fig 4 4 shows the bayer filter arrangement on the pixel matrix...

Page 23: ...s 8 bit 240 MB s 10 bit Table 4 5 Summary of parameters needed for frame grabber configuration CameraLink port and bit assignments are compliant with the CameraLink standard see CL Table 4 6 shows th...

Page 24: ...4 Product Specification 22...

Page 25: ...mage resolution By reducing the image size to a certain region of interest ROI the frame rate can be increased A region of interest can be almost any rectangular window and is specified by its positio...

Page 26: ...th ROI In this case every ROI should have a height and width that is a multiple of the corresponding decimation setting E g if decimation 3 then the height of every ROI should be a multiple of 3 Fig 5...

Page 27: ...5 2 Decimation and ROI Figure 5 3 Image example of decimation 3 R O I w i t h o u t d e c i m a t i o n R O I w i t h d e c i m a t i o n Figure 5 4 Example of decimation 2 on image of injection need...

Page 28: ...rows for y decimation d are Hskip d 1 2 The resulting number or rows for Window H h htot 2 floor h d min h mod 2 d 2 The number of skipped columns for x decimation d are Wskip d 1 2 The resulting num...

Page 29: ...bling of the binning doesn t reduce the readout time of the image There is more a slight reduction of the frame rate due the slight increase of the readout delay see also Table 5 6 P 1 P 3 P 2 P 4 P b...

Page 30: ...sure time A shorter exposure time leads to an increase in the maximal frame rate ROI height a smaller height ROI leads to an increase in the maximal frame rate The maximal frame rate of the camera can...

Page 31: ...s is higher than the maximal frame rate of the current camera settings then some trigger pulses will be missed A missed trigger counter counts these events This counter can be read out by the user An...

Page 32: ...e V i s i o n B A D a t a C a m e r a L i n k P o w e r E X S Y N C C C 1 S o f t t r i g g e r C a m e r a L i n k T M F r a m e G r a b b e r Figure 5 10 Interface trigger source I O B o a r d C a m...

Page 33: ...t d i s o o u t p u t t s t r o b e d u r a t i o n t t r i g g e r o f f s e t t s t r o b e o f f s e t Figure 5 13 Trigger timing diagram The rising edge of the trigger signal is detected in the c...

Page 34: ...rigger engine When enabled it starts a predefined number of acquisitions after one single trigger pulse The time between two acquisitions and the number of acquisitions can be configured by a user def...

Page 35: ...l i n t e r n a l s t r o b e c o n t r o l e x t e r n a l s t r o b e p u l s e o u t p u t t d i s o i n p u t t j i t t e r t t r i g g e r d e l a y t e x p o s u r e t s t r o b e d e l a y t d...

Page 36: ...ds on camera settings 0 279 s ttrigger offset non burst mode 1 43 s 1 43 s ttrigger offset burst mode 1 45 s 1 45 s texposure 13 3 s 0 279 s tstrobe delay 0 0 279 s tstrobe offset non burst mode 66 6...

Page 37: ...Missed Trigger Counter Missed Burst Trigger Counter The missed burst trigger counter counts trigger pulses that were ignored by the camera in the burst trigger mode because they occurred while the ca...

Page 38: ...ence of blocks is shown in figure Fig 5 15 I m a g e S e n s o r D i g i t a l O f f s e t D i g i t a l G a i n L o o k u p t a b l e L U T C r o s s h a i r s i n s e r t i o n T e s t i m a g e s i...

Page 39: ...racting an offset from the input of the gain block it is possible to avoid the saturation 5 5 Grey Level Transformation LUT Grey level transformation is remapping of the grey level values of an input...

Page 40: ...mplification with clamping see Fig 5 17 It is configurable in the range from 1 0 to 4 0 e g 1 234 0 200 400 600 800 1000 1200 0 50 100 150 200 250 300 Grey level transformation Gain y 255 1023 a x x g...

Page 41: ...600 800 1000 1200 0 50 100 150 200 250 300 Grey level transformation Gamma y 255 1023 x 1 x grey level input value 10 bit DN y grey level output value 8 bit DN 1 0 1 2 1 5 1 8 2 5 4 0 Figure 5 18 Appl...

Page 42: ...don t care LUT 0 is active on whole image X LUT 1 is active on whole image X X LUT 0 active in Region 0 X X X LUT 0 active in Region 0 and LUT 1 active in Region 1 LUT 0 supersedes LUT1 Table 5 8 LUT...

Page 43: ...0 x 1 0 x 0 1 x 1 1 y 1 0 y 0 0 y 0 1 y 1 1 Figure 5 21 Overlapping Region LUT example L U T 0 L U T 1 L U T 1 L U T 0 0 0 0 0 x m a x y m a x x m a x y m a x Figure 5 22 Region LUT in keyhole inspect...

Page 44: ...eft hand side The result of the application of the Region LUT is shown on the right hand side One Region LUT was applied on a small region on the lower part of the image where the brightness has been...

Page 45: ...g 5 24 shows two examples of the activated crosshairs with different grey values One with white lines and the other with black lines The 12 bit format of the grey level was chosen to be compatible wit...

Page 46: ...crosshairs however is set differently The crosshairs is not seen in the image on the right because the x and y position is set outside the MROI region 0 0 x a b s o l u t y a b s o l u t G r e y L e v...

Page 47: ...SR linear feedback shift register test image outputs a constant pattern with a pseudo random grey level sequence containing every possible grey level that is repeated for every row The LFSR test patte...

Page 48: ...ame grabber A possible origin of failure message can be caused by the CameraLink cable which exceeds the maximum length The maximal cable length depends on the frequency of the pixel clock At a pixel...

Page 49: ...sion errors CameraLink cables contain wire pairs which are twisted in such a way that the cable impedance matches with the LVDS driver and receiver impedance Excess stress on the cable results in tran...

Page 50: ...accessible Instead the serial communication is usually routed through the frame grabber For some frame grabbers it might be necessary to connect a serial cable from the frame grabber to the serial int...

Page 51: ...6 1 Rear view of the CameraLink camera The CameraLink interface and connector are specified in CL For further details including the pinout please refer to Appendix Appendix A This connector is used t...

Page 52: ...id damage to the internal ESD protection and the optocoupler In order to use the strobe output the internal optocoupler must be powered with 5 15 V DC The STROBE signal is an open collector output the...

Page 53: ...the serial communication Data signals CameraLink data signals contain the image data In addition handshaking signals such as FVAL LVAL and DVAL are transmitted over the same physical channel Camera c...

Page 54: ...i x e l C l o c k C C S i g n a l s S e r i a l I n t e r f a c e F r a m e g r a b b e r C a m e r a L i n k Figure 6 3 CameraLink interface system The frame grabber needs to be configured with the p...

Page 55: ...was delivered with your frame grabber Figure 7 1 PFRemote and PFLib in context with the CameraLink frame grabber software 7 3 Operating System The PFRemote GUI is available for Windows OS only For Li...

Page 56: ...ed or closed and log messages are displayed at the bottom The configuration dialog appears as a sub window as soon as a camera port was opened successfully In the sub window of PFRemote the user can c...

Page 57: ...e this DLL as clser dll at PFRemote directory After connecting the camera the device can be opened with a double click on the port name or by right clicking on the port name and choosing Open Configur...

Page 58: ...Reset Reset camera and reset the configuration to the factory defaults 7 6 Device Properties Cameras or sensor devices are generally addressed as device in this software These devices have properties...

Page 59: ...terface The following sections are grouped according to the tabs in the configuration dialog Figure 8 1 Frame rate and average value indication Frame Rate fps Shows the actual frame rate of the camera...

Page 60: ...hus fewer images can be acquired than would otherwise be possible When Constant Frame Rate is switched off the camera delivers images as fast as possible depending on the exposure time and the read ou...

Page 61: ...re X X coordinate starting from 0 in the upper left corner Y Y coordinate starting from 0 in the upper left corner W Window width in steps of 2 pixel H Window height Set to max ROI Set Window to maxim...

Page 62: ...sshairs Crosshairs is a cross inside the image The crosshairs value is overlapped the original image data The position of the crosshairs can be configured The unit of the grey value is always 12 bit E...

Page 63: ...erface respectively I O Trigger The trigger signal is applied directly to the camera on the power supply connector Further trigger settings Trigger Delay ms Programmable delay in milliseconds between...

Page 64: ...ds Strobe The camera generates a strobe output signal that can be used to trigger a strobe The delay pulse width and polarity can be defined by software To turn off strobe output set StrobePulseWidth...

Page 65: ...gister pseudo random image The pattern depends on the grey level resolution Ramp Test image Values of pixel are incremented by 1 starting at each row The pattern depends on the grey level resolution R...

Page 66: ...to adjust the brightness of the whole image in small steps Colour Colour models only There is additionally a gain for every color channel The colour fine gain is used to calibrate the white balance in...

Page 67: ...performs a 12 to 8 bit mapping so that 4096 input grey levels can be mapped to 256 output grey levels 0 to 4096 and 0 to 255 This camera support 2 LUT both are identical The default LUTs is a gain fun...

Page 68: ...LUT starting from 0 in the upper left corner W Region LUT window width in steps of 2 pixel H Region LUT window height Set to max ROI Set Region LUT window to maximal ROI X 0 Y 0 W 2080 H 2080 LUT Fil...

Page 69: ...023 10 bit 1 Sends bits 10 to 1 of the 12bit binned pixel data Result is clipped at 1023 10 bit 2 Sends the 10 MSB of the 12bit binned pixel data Binning is only available when the image has two or mo...

Page 70: ...FPGA Revision Firmware revision of built in FPGA of the connected camera uC Revision Firmware revision of built in microcontroller of the connected camera Interface Description of the camera interfac...

Page 71: ...from interface trigger or from I O trigger interface Missed Burst Trigger This is a counter for burst trigger pulses that were blocked because the burst trigger pulse was received during the last burs...

Page 72: ...8 Graphical User Interface GUI 70...

Page 73: ...t according to local regulations 9 1 1 MV1 cameras with CameraLink Interface Fig 9 1 shows the mechanical drawing of the camera housing for the Photonfocus 1280 CMOS cameras with CameraLink interface...

Page 74: ...9 Mechanical Considerations 72...

Page 75: ...the manufacturer and accompanying said product and the product shall be free from defects in materials and workmanship under normal use The distributor shall not make or pass on to any party any warr...

Page 76: ...10 Warranty 74...

Page 77: ...amera Acquisition Modes Photonfocus March 2004 AN008 Application Note Photometry versus Radiometry Photonfocus December 2004 AN010 Application Note Camera Clock Concepts Photonfocus July 2004 AN021 Ap...

Page 78: ...11 References 76...

Page 79: ...he pin assignment of the power supply plug is given in Table A 2 It is extremely important that you apply the appropriate voltages to your camera Incorrect voltages will damage or destroy the camera F...

Page 80: ...isolated strobe signal Table A 2 Power supply plug pin assignment A 2 CameraLink Connector The pinout for the CameraLink 26 pin 0 5 Mini D Ribbon MDR connector is according to the CameraLink standard...

Page 81: ...Positive LVDS Input Camera Control 4 CC4 13 PW SHIELD Shield 14 PW SHIELD Shield 15 O P_XD0 Positive LVDS Output CameraLink Data D0 16 O P_XD1 Positive LVDS Output CameraLink Data D1 17 O P_XD2 Posit...

Page 82: ...A Pinouts 80...

Page 83: ...B Revision History Revision Date Changes 1 0 May 2013 First version 1 1 May 2013 Bayer pattern description modified 81...

Reviews: