Adding New TransformsΒΆ

In order to add new Transforms to the builtin list, the following steps must be completed:

  1. Create a new Transform, subclassed from BaseTransform.

  2. Set the doc_filename class variable appropriately
    • Default doc filename will be the ClassName.html

  3. Create a new .html doc in src/opencv_pg/docs/source_docs/. Follow the formats of the other files in the folder.

  4. Add a new entry to the _TRANS_WINDOWS dict in src/opencv_pg/models/transform_windows.py with the new transform. This will add it to the Transforms list in the GUI.