diff --git a/plugins/Camtool.java b/plugins/Camtool.java index b21a4f9..a078a59 100644 --- a/plugins/Camtool.java +++ b/plugins/Camtool.java @@ -48,7 +48,7 @@ public class Camtool extends ArraySource { posY = new ChannelDouble(name + " com y", dataPrefix + "y_stats.com_egu"); profileX = new ChannelDoubleArray(name + " profile x", dataPrefix + "profile.x"); profileY = new ChannelDoubleArray(name + " profile y", dataPrefix + "profile.y"); - shape = new ChannelIntegerArray(name + " shape", dataPrefix + "image.shape"); + shape = new ChannelIntegerArray(name + " shape", dataPrefix + (roi ? "roi.output.shape": "image.shape")); bgEnable = new ChannelInteger(name + " bg enable", this.prefix + "pipeline.bg.enabled"); bgCapture = new ChannelInteger(name + " bg capture", this.prefix + "pipeline.bg.capture"); bgCaptureRemain = new ChannelInteger(name + " bg capture remain", this.prefix + "pipeline.bg.capture_remain");