I just created a basic ImageJ2 plugin so we can do Colour Deconvolution of images. When I run the plugin in Knime, it works fine, but only 1 @Parameter(type = INPUT) is made configurable in Knime. The other parameters are not shown in the Configuration dialog. They were there earlier any idea why this is not configurable?
@Plugin(type = Command.class, headless = true, menuPath = "Histo>Colour Deconvolution")
public class Colour_DeconvolutionIJ2 implements Command {
//These are not configurable
@Parameter(type = INPUT)
private final Double R1 = 0.66645944;
@Parameter(type = INPUT)
private final Double G1 = 0.6332006;
@Parameter(type = INPUT)
private final Double B1 = 0.39355922;
@Parameter(type = INPUT)
private final Double R2 = 0.25378;
@Parameter(type = INPUT)
private final Double G2 = 0.737415;
@Parameter(type = INPUT)
private final Double B2 = 0.6259511;
//This is made configurable
@Parameter(type = INPUT)
private Dataset dataset;
//The output images also work fine
@Parameter(type = OUTPUT)
private ImgPlus<UnsignedByteType> deconvolutedImage1;
@Parameter(type = OUTPUT)
private ImgPlus<UnsignedByteType> deconvolutedImage2;
@Parameter(type = OUTPUT)
private ImgPlus<UnsignedByteType> deconvolutedImage3;
//More code below here
Look forward to hearing from you,
Martin
P.S. The full plugin can be found here: