SpectralAngleMapperFormModel(SpectralAngleMapperForm parentForm) { this.parentForm = parentForm; container = ParameterDescriptorFactory.createMapBackedOperatorPropertyContainer("SpectralAngleMapperOp", parameterMap); }
@OperatorMetadata(alias = "SubGraph", category = "Input-Output", authors = "Jun Lu, Luis Veci", version = "1.0", description = "Encapsulates a graph within a graph.") public class SubGraphOp extends Operator { @Parameter private File graphFile; @Override public void initialize() throws OperatorException { throw new OperatorException("Please add a sub-graph file"); } public static class Spi extends OperatorSpi { public Spi() { super(SubGraphOp.class); } } }
@OperatorMetadata( alias = "BandsExtractorOp", version="1.0", copyright = "Copyright (C) 2017 by CS ROMANIA") public class BandsExtractorOp extends Operator { @SourceProduct(alias = "Source", description = "The source product to be modified.") private Product sourceProduct; @TargetProduct private Product targetProduct; @Parameter(label = "Source bands", description = "The source bands for the computation.", rasterDataNodeType = Band.class) private String[] sourceBandNames; @Parameter(label = "Source masks", description = "The source masks for the computation.", rasterDataNodeType = Mask.class) private String[] sourceMaskNames;
@OperatorMetadata(alias = "SnaphuImport", category = "Radar/Interferometric/Unwrapping", authors = "Petar Marinkovic, Jun Lu, Luis Veci", public class SnaphuImportOp extends Operator { @SourceProducts(description = "The array of source product of InSAR bands.") private Product[] sourceProducts; @TargetProduct(description = "The target product for SNAPHU results.") private Product targetProduct; @Parameter(defaultValue="false", label="Do NOT save Wrapped interferogram in the target product") private boolean doNotKeepWrapped = false;
@OperatorMetadata(alias = "Idepix.S2Cloudbuffer", version = "2.2", internal = true, public class S2IdepixCloudBufferOp extends Operator { @Parameter(defaultValue = "2", label = "Width of cloud buffer (# of pixels)") private int cloudBufferWidth; @SourceProduct(alias = "classifiedProduct") private Product classifiedProduct;
public static class TestOp extends Operator { @SourceProduct Product masterProduct; @SourceProduct Product slaveProduct; @TargetProduct Product target; @Parameter(defaultValue = "true") boolean copyTiePointGrids; @Parameter(defaultValue = "false") Boolean copyMetadata; @Parameter(interval = "[-1,+1]", defaultValue = "-0.1") double threshold; @Parameter(valueSet = {"ME-203", "ME-208", "ME-002"}, defaultValue = "ME-208") String method; @Parameter(description = "Mask expression", label = "Mask expression", converter = GeneralExpressionConverter.class) String validExpression;
@OperatorMetadata( alias = "BandsDifferenceOp", version="1.0", copyright = "Copyright (C) 2017 by CS ROMANIA") public class BandsDifferenceOp extends Operator { @SourceProducts(alias = "Source", description = "The first source product.") private Product[] sourceProducts; @TargetProduct private Product targetProduct;
@OperatorMetadata(alias = "Idepix.Sentinel2.MountainShadow", version = "1.0", internal = true, public class S2IdepixMountainShadowOp extends PixelOperator { @SourceProduct private Product sourceProduct;
private PropertySet createPropertySet(AggregatorConfig config) { return PropertyContainer.createMapBacked(new HashMap<>(), config.getClass(), new ParameterDescriptorFactory()); }
@OperatorMetadata(alias = "SetNoDataValue", category = "Raster/Data Conversion", authors = "Jun Lu, Luis Veci", public final class SetNoDataValueOp extends Operator { @SourceProduct(alias = "source") private Product sourceProduct; @TargetProduct private Product targetProduct; @Parameter(label = "No Data Value Used", defaultValue = "true") private Boolean noDataValueUsed = true; @Parameter(label = "No Data Value", defaultValue = "0.0") private double noDataValue = 0.0;
@OperatorMetadata(alias = "Find-Image-Pair", category = "Input-Output", version = "1.0", public class FindImagePairOp extends Operator { @SourceProduct private Product sourceProduct; @Parameter(description = "Minimum days apart from master", defaultValue = "1", label = "Minimum days apart") private double minMJD = 1; @Parameter(description = "Maximum days apart from master", defaultValue = "99999", label = "Maximum days apart") private double maxMJD = 99999;
@OperatorMetadata(alias = "S2.AerosolType", category = "Optical", description = "Aerosol Type retrieval from S2 MSI", public class S2AerosolTypeOp extends PixelOperator { @Parameter(description = "A product to read climatology data from.", notNull = true) private String climatologiesFile;
@Parameter private int complexInt;
@Before public void before() { final PropertyContainer pc = ParameterDescriptorFactory.createMapBackedOperatorPropertyContainer("Mosaic"); bindingContext = new BindingContext(pc); }
private static PropertyContainer createParameterMap(Map<String, Object> map) { ParameterDescriptorFactory parameterDescriptorFactory = new ParameterDescriptorFactory(); final PropertyContainer container = PropertyContainer.createMapBacked(map, PixExOp.class, parameterDescriptorFactory); container.setDefaultValues(); return container; }
@OperatorMetadata(alias = "S2Resampling", category = "Optical/Geometric", authors = "Omar Barrilero", @SourceProduct(description = "The source product which is to be resampled.", label = "Name") Product sourceProduct; @TargetProduct(description = "The resampled target product.") Product targetProduct; @Parameter(alias = "resolution", label = "Output resolution", description = "The output resolution.", @Parameter(alias = "upsampling", label = "Upsampling method", description = "The method used for interpolation (upsampling to a finer resolution).", @Parameter(alias = "downsampling", label = "Downsampling method", description = "The method used for aggregation (downsampling to a coarser resolution).", @Parameter(alias = "flagDownsampling", label = "Flag downsampling method", description = "The method used for aggregation (downsampling to a coarser resolution) of flags.", @Parameter(label = "Resample on pyramid levels (for faster imaging)", defaultValue = "true", description = "This setting will increase performance when viewing the image, but accurate resamplings " + "are only retrieved when zooming in on a pixel.")
@OperatorMetadata(alias = "Tester", authors = "Nobody", version = "42", description = "This is very stupid operator.") public class TestOp extends Operator { @Parameter private double paramDouble; @Parameter private String paramString; @Parameter private Complex paramComplex; @Override public void initialize() throws OperatorException { } }
@Before public void before() { final PropertyContainer pc = ParameterDescriptorFactory.createMapBackedOperatorPropertyContainer("Mosaic"); bindingContext = new BindingContext(pc); }
@OperatorMetadata(alias = "BandSelect", category = "Raster/Data Conversion", authors = "Jun Lu, Luis Veci", public final class BandSelectOp extends Operator { @SourceProduct(alias = "source") private Product sourceProduct; @TargetProduct private Product targetProduct; @Parameter(description = "The list of polarisations", label = "Polarisations") private String[] selectedPolarisations; @Parameter(description = "The list of source bands.", alias = "sourceBands", rasterDataNodeType = Band.class, label = "Source Bands") private String[] sourceBandNames; @Parameter(description = "Band name regular expression pattern", label = "Band Name Pattern") private String bandNamePattern;