zen open application development (oad) tools for smart...

26
ZEN Open Application Development (OAD) Tools for Smart Microscopy EuBIAS 2015, Paris, 2015-01-05 Dr. Sebastian Rhode

Upload: dinhtram

Post on 17-Feb-2019

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

ZEN Open Application Development (OAD) Tools for Smart Microscopy

EuBIAS 2015, Paris, 2015-01-05

Dr. Sebastian Rhode

Page 2: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

2 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

Agenda

1 2 3

4 5

ZEN Macro Interface

COM & TCP/IP Interface

ZEN Extensions

Experiment Feedback

OAD - Introduction and General Concept

Page 3: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

3 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

ZEN is only one part of the workflow

ZEN

Python OAD

Automation Analysis Fiji

KNIME

Scripting MATLAB

Simplify Extensions

Excel

Page 4: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

4 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

OAD – General Concept and Key Features

• Open Application Development (OAD) uses powerful Python Scripts inside ZEN Blue to simplify, customize and automate your workflows.

• The CZI-API, ZeissImageLib.dll (.NET) and BioFormats (CZIReader) allow

access to CZI files from external applications. • Analyze and Exchange your data with other external applications like Fiji,

Python, CellProfiler, MATLAB, Excel and …

• Create “smart” experiments with Exp. Feedback and Exp. Designer and modify the acquisition On-the-fly based on Online Image Analysis and External Inputs.

• Use Extensions to create your own applications and interfaces inside ZEN.

= Get more reliable results with less effort

Page 5: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

5 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

OAD – Concept and Interfaces

Sim

ple

Inte

rfac

e

Python Macro

Extensions

ZEN Application

Acquisition

Processing

Analysis

Measurement

CZI-Image

COM

TCP/IP Inte

rface

s

Zen Browser

Web-Viewing

ZEN Acq. Server

Exp. Feedback Python Scripts

Page 6: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

6 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

Agenda

1 2 3

4 5

ZEN Macro Interface

COM & TCP/IP Interface

ZEN Extensions

Experiment Feedback

OAD - Introduction and General Concept

Page 7: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

7 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

ZEN Macro Interface

Simple Interface

Python IDE

• Recorder • Editor • Debugger

Macro Interface

ZEN Application

IronPython

.Net based (managed code)

Your Choice .Net Framework IronPython

Standard Library

Other Python Libraries*

Other .Net DLL

* With support of IronPython

import

Basic Libraries

Third Party Customized Solution

Start External Apps or Scripts Exchange Data

Page 8: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

8 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

Macro Workflow Example – Part 1

Acquisition

Processing

Analysis

Measurement

Settings File (XML)

Page 9: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

9 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

Macro Workflow Example – Part 2

IronPython Standard Library .Net Framework

Page 10: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

10 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

Use External Image Analysis from ZEN …

Page 11: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

11 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

… reimport the results into ZEN and proceed

Page 12: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

12 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

Agenda

1 2 3

4 5

ZEN Macro Interface

COM & TCP/IP Interface

ZEN Extensions

Experiment Feedback

OAD - Introduction and General Concept

Page 14: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

14 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

ZEN Remote via COM Interface - Python

Page 15: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

15 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

ZEN Remote via COM Interface – Python 1

Page 16: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

16 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

ZEN Remote via COM Interface – Python 2

Page 17: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

17 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

Read CZI directly via Python BioFormats and process the data

Page 18: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

18 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

ZEN Remote via COM Interface - MATLAB

Page 19: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

19 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

Agenda

1 2 3

4 5

ZEN Macro Interface

COM & TCP/IP Interface

ZEN Extensions

Experiment Feedback

OAD - Introduction and General Concept

Page 20: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

20 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

ZEN Extensions Interface

ZEN

ZEN - Extension Manager

ZEN - LeftToolArea

SharpDevelop

‚Third Party‘ Area

Place your extension here…

.dll Interface

Page 21: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

21 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

ZEN Extensions - Examples

Page 22: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

22 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

Agenda

1 2 3

4 5

ZEN Macro Interface

COM & TCP/IP Interface

ZEN Extensions

Experiment Feedback

OAD - Introduction and General Concept

Page 23: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

23 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

Exp. Feedback – Adaptive Acquistion Engine

Import modules & define actions at the beginning of the experiment.

Set up rules & actions to be executed during the experiment in a loop. • React upon results from online image analysis

and external inputs • Modify the running experiment on-the-fly

Define actions to be taken when the experiment stops.

Observe

Actions

Tools

Select Online Image Analysis

Page 24: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

24 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

Exp. Feedback – Adaptive Acquistion Engine

Page 25: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

25 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

Exp. Feedback Example – Analyze Online

Page 26: ZEN Open Application Development (OAD) Tools for Smart ...eubias.org/eubias2015/wp-content/uploads/2015/01/ZEN.pdf · 4 OAD – General Concept and Key Features • Open Application

26 2015-01-03 Carl Zeiss Microscopy GmbH, Dr. Sebastian Rhode

www.zeiss.com/czi

www.zeiss.com/zen-oad