/** * Registers the MaskedConvolve operation and its * associated image factories across all supported operation modes. * * @param registry The registry with which to register the operations * and their factories. */ public void updateRegistry(OperationRegistry registry) { OperationDescriptor op = new JiffleDescriptor(); registry.registerDescriptor(op); String descName = op.getName(); RenderedImageFactory rif = new JiffleRIF(); registry.registerFactory(RenderedRegistryMode.MODE_NAME, descName, productName, rif); } }
/** * Registers the MaskedConvolve operation and its * associated image factories across all supported operation modes. * * @param registry The registry with which to register the operations * and their factories. */ public void updateRegistry(OperationRegistry registry) { OperationDescriptor op = new JiffleDescriptor(); registry.registerDescriptor(op); String descName = op.getName(); RenderedImageFactory rif = new JiffleRIF(); registry.registerFactory(RenderedRegistryMode.MODE_NAME, descName, productName, rif); } }