For this HOWTO, we will use the workflow defined in [HOWTO] How to define a simple workflow and complete it so that it can run against a Cytomine server. To achieve this, we will use the cytomine-sldc library which defines the image format and interaction with cytomine server.
Instantiate the client
You must first instantiate the client so that your workflow is able to communicate with the server.
The workflow is now ready for processing images. To process a specific tile from cytomine, one can instantiate the CytomineSlide class from cytomine-sldc, apply the workflow on the resulting image and then go through the results.
Add the SLDC software to Cytomine
Like with other script/software, you have to declare the software (and its parameter types) to Cytomine-Core, following basic principles. See the add_software.py file in cytomine-sldc repository for a full example.