navis.transforms.templates.TemplateRegistry.register_transformfile¶
- TemplateRegistry.register_transformfile(path, **kwargs)[source]¶
Parse and register a transform file.
File/Directory name must follow the a
{TARGET}_{SOURCE}.{ext}
convention (e.g.JRC2013_FCWB.list
).- Parameters:
path (str) – Path to transform.
**kwargs – Keyword arguments are passed to the constructor of the Transform (e.g. CMTKtransform for .list directory).
See also
register_transform
If you want to register an already constructed transform instead of a transform file that still needs to be parsed.