Search found 78 matches

by CarlZeissMicroscopy3
Thu Oct 07, 2021 9:52 am
Forum: Miscellaneous
Topic: General Approach to Start an External Application
Replies: 9
Views: 6187

Re: General Approach to Start an External Application

Hello Anand Ranjan, I was wondering if OAD supports opening Fiji in Headless mode. Please keep in mind that with import clr from System.Diagnostics import Process app = Process(); you import a library from the .Net Framework in OAD and therefore no direct 'OAD support opening Fiji' exists. So, if yo...
by CarlZeissMicroscopy3
Tue Oct 05, 2021 9:15 am
Forum: Image Acquisition
Topic: Analyze Z stack images and choose Z plane to image
Replies: 12
Views: 466

Re: Analyze Z stack images and choose Z plane to image

Hello Anand Ranjan,

thank you for posting your final solution!

Although the empty file might be a peculiarity of Fiji other people can profit from your experience.
by CarlZeissMicroscopy3
Thu Sep 30, 2021 10:21 am
Forum: Miscellaneous
Topic: Install opencv-contrib
Replies: 6
Views: 263

Re: Install opencv-contrib

Hello Matthew Cottrell, thank you very much for your contribution! This is apparently one way to go. By using import win32com.client Zen = win32com.client.GetActiveObject("Zeiss.Micro.Scripting.ZenWrapperLM") it must be clear that this is just for Zen blue and cannot be used in case of Zen...
by CarlZeissMicroscopy3
Wed Sep 29, 2021 11:27 am
Forum: Image Acquisition
Topic: Analyze Z stack images and choose Z plane to image
Replies: 12
Views: 466

Re: Analyze Z stack images and choose Z plane to image

Hello Anand Ranjan, happy to hear that your OAD macro works great. File.Exists(path) is not an OAD command. This is one of the strengths of OAD that you can import .Net DLLs e.g., from the .Net Framework, and use them! You get class File by importing from System.IO at the beginning of your code. In ...
by CarlZeissMicroscopy3
Mon Sep 27, 2021 11:44 am
Forum: Image Acquisition
Topic: ZEN multiple Z stack acquisitions
Replies: 1
Views: 37

Re: ZEN multiple Z stack acquisitions

Hello J Seeler, from my understanding you want to fix your z-Stack with the first (bottom) slice. Did you try the Offset in the Center tab. This can shift the ‘center’ to the ‘first’ slice. Something like Offset 15 and Interval 3, Slices 11 (Range 30) Maybe the ‘Show all’ on the right-hand side of t...
by CarlZeissMicroscopy3
Thu Sep 16, 2021 12:24 pm
Forum: ZEN Core Specific Topics
Topic: Apply macro on selected images in Output area
Replies: 1
Views: 50

Re: Apply macro on selected images in Output area

Hello Fredrik Olsson,

sorry, but this is not possible as

Zen.Application.GetAllOutputParameters()

has no connection to the layer representing the images etc.

But it is certainly a good feature so I will put it up for internal discussion.
by CarlZeissMicroscopy3
Tue Aug 31, 2021 11:03 am
Forum: Instrument Control
Topic: ZenHardwareSetting in Python Script
Replies: 5
Views: 191

Re: ZenHardwareSetting in Python Script

Hello Matthew Cottrell, yes, this is because COM does not support 'method overloading'. For a short demonstration we use the ZenImage class: As Python supports 'method overloading' you can write the following code: image = Zen.Application.ActiveDocument image.Save() image.Save(fileName) But in COM t...
by CarlZeissMicroscopy3
Fri Aug 27, 2021 3:22 pm
Forum: Image Processing
Topic: Stitching Tiled image within Macro environment
Replies: 1
Views: 104

Re: Stitching Tiled image within Macro environment

Hello Aaron Skubal,

Code: Select all

Zen.Processing.Transformation.Geometric.Stitching(...)
I hope this is the answer to your problem.

By the way: it is possible to search (top, right hand side of page) in the forum for 'stitching'.
by CarlZeissMicroscopy3
Thu Aug 26, 2021 11:21 am
Forum: ZEN (blue edition) Application Model
Topic: Unable to Install CUDA-enabled version
Replies: 1
Views: 93

Re: Unable to Install CUDA-enabled version

Hello Abraham Moses, you treat two separate themes in one post. First, Zen Lite is a free but reduced version of a Zen including a license. And even a ‘full blown’ Zen would use the GPU just for some special modules. But none of these special modules is available in Zen Lite. Therefore, the GPU of y...
by CarlZeissMicroscopy3
Wed Aug 25, 2021 8:44 pm
Forum: Image Acquisition
Topic: VB .NET Show Live Image
Replies: 1
Views: 120

Re: VB .NET Show Live Image

Hello Matthew Cottrell,

there is no way to do something like

Code: Select all

live = Zen.Acquisition.StartLive()
in VB.Net (and also not in C#).

You always need a running Zen blue as a 'server'.

Generally, you can connect to a running Zen blue either via COM- or TCP-Interface.