SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Henning Lorch & Mario Kiekebusch et. al. The CLIP
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr „Common Library for Image Processing“ Use the latest pipeline SW technology (CPL) for the 2 nd Generation Instruments‘ control SW What is the CLIP? (1) Pipeline DRS Instrument Control SW
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr What is the CLIP? (2) VLT SW DRS Common Library for Image Processing CLIP Display PipelinesCPL Control SW
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Goals To provide a suitable image processing toolkit, flexible and well integrated with the INS SW To share the same image processing algorithms whenever possible between INS SW and pipeline DRS To improve observation efficiency
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Some LPO Image Processing Tasks Eclipse based: Slit Position ISAAC, VISIR, NACO Jitter Pattern ISAAC, VISIR, NACO Cube Computation ISAAC Midas based: Center/Gauss ISAAC, VISIR, VIMOS Center/Moment UVES, FORS1, FORS2 Polynomial Fitting VIMOS Custom: Image Reconstruction SINFONI Visibilities Computation AMBER Nodding Computation VISIR
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr CLIP Definition CLIP is a package made up of several modules, providing an interface to CPL for VLTSW applications, defining a framework to add image processing capabilities to the INS SW, including a set of common image processing functions for Paranal.
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr DFS CLIP CLIP Package Image Proc. Library („clipm“) Interfaces C++ („clipv“) Tcl/Tk („clipvTcl“) Templates for Custom Extension Custom Image Processing Lib („xxclipm“) C++ („xxclipv“) Tcl/Tk („xxclipvTcl“) CPL VLT SW
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Main Features Provide a common framework to use image processing during instrument acquisition Extendability of the CPL to generic and specific instrument data handling / processing requirements. Data handling directly from the shared memory areas avoiding the I/O overhead. Direct access to the image processing algorithms. Standard error reporting.
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr VLTSW Interface Image Processing Library („clipm“) Interfaces C++ („clipv“) Tcl/Tk („clipvTcl“)
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr C++ Interface Main Services: Logging and error handling Wrappers for CPL objects Interface with RTD image event library
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Server Mode Shared Memory Write RTD App. Read Register Notify Clipv Server Create/ Remove Register/ Notify Shared Memory Acq. Process RTD Server Clipv Client Shared Memory Notify Create/ Write Notify Read Client Mode
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Tcl interface Commands: Input/Output (7) Image basic operations (13) Image statistics (8) Image Processing (6) Others (3) Special Features Image Store Vector by references
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Tcl Example # create clip object clipvtcl Clip # attach to camera Clip rtd_image_attach -c VIS # wait for the first image event Clip rtd_image_wait -camera VIS -timeout # Get the image from shared memory Clip rtd_image_retrieve –camera VIS –store “image1” # wait for second image even Clip rtd_image_wait -camera VIS -timeout # call the image processing algorithm Clip image_cross_correlation -npoints 10 -store “image1” –camera VIS \ -ref1 reference -maxd 7 –wsize 64 \ –mode SHIFT_ROBUST -tran transVector
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Development and Testing Camera Simulator (Clip Image Acquisition Simulator „clipias“) Supported modes: BIAS, SKY and FILE Supported sky objects: Gaussian star Supported star parameters: pos, sigma, maxflux and gaussian norm. Template module Customizable module to develop instrument specifics interfaces (C++ and Tcl).
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Image Processing Algorithms Image Processing Library („clipm“) Interfaces C++ („clipv“) Tcl/Tk („clipvTcl“)
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Image Processing Library (“clipm”) (1) 1.Cover special image processing needs 2.Serve as temporary development platform (until routines are accepted for CPL), thus providing flexibility by separating DFS and INS SW development cycles 3.Thus instrument-only
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr “clipm” (2) Provided Functionality Linear Regression Cross-Correlation Random Number Generation Image Gradient Operations (Image Resampling/Stacking) Centroiding Object / Image Alignment Aperture Characterisation Mathematical Routines Common Recipes Error Handling Macros...and future requirements! Current Schedule: Done Pending
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr clipm Extension Template (“xxclipm”) To be used for shared code between Pipeline and INS control SW Containing Pipeline and VLT Build Procedures Templates for Custom Extension Custom Image Processing Lib („xxclipm“) C++ („xxclipv“) Tcl/Tk („xxclipvTcl“)
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr How to Use the xxclipm Template DRL Developer CMM CVS Consortium Repositories ESO Observatory Pipeline DRL Pipeline Integration clipv (Wrappers) INS Developer Pipeline Responsible INS / RTD Integration Slave clipm clipm DRL (Master) Copy DFS CLIP Responsible Pipeline World INS World
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Status & Outlook Status First prototype of the complete framework running, to be used by X- Shooter soon New module clipd: interactive display (to come soon) Next Steps Implementation: —Remaining image processing algorithms —RTD / display features —Plotting capabilities —Code Polishing Documentation: —User manual
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr
SDD/DFS H. Lorch & M. Kiekebusch VLT 2 nd Generation Instrumentation Pipelines, 18 Apr Whom To Ask Andreas Kaufer (LPO) Head Pascal Ballester (SDD) Management Peter Biereichel (SDD) Dev. RTD Mario Kiekebusch (SDD) Dev. VLTSW Interfaces Henning Lorch (SDD) Dev. Image Processing