PerkinElmer Informatics Support Forum
Decrease font size
Increase font size
Topic Title: How do I combine an image and stencil to a single image item?
Topic Summary:
Created On: 11/20/2018 3:50 AM
Status Post and Reply
Linear : Threading : Single : Branch
Topic Tools Topic Tools
View topic in raw text format. Print this topic.
 11/20/2018 3:50 AM
User is offline View Users Profile Print this message


RAH

Posts: 75
Joined: 5/16/2014

Take the following question as an example:

I would like to export (e.g. WriteFlex) an image with a stencil overlay. How do I combine an image and stencil to a single image item?

#require AcapellaUserInterface

a1_0002(|image)
a1_0002_objects(image | objects)

UI::C_ImageView( "", ["channel1"], image_color=["gray"],
stencil_labels=["overlay1"], stencil_color=["colorset@rainbow"],
stencil_style=["body"], UI=UI | UI )
UI::C_ImageViewSetFrame(image, objects.body, UI=UI | UI)

UI::C_ImageViewGetImage(0, UI=UI | visualimage=Visual.image)

=======================================

With older versions (Acapella 4.x) replace ["string"] with vec("string")


RH

FuseTalk Basic Edition v4.0 - © 1999-2019 FuseTalk Inc. All rights reserved.