Hi Qupath Community,
I would like to export tiles of the images and binary masks of cell detections downstream of the watershed cell detection. The below script works great for this but i would like to add a wrinkle if possible. For every tile, i only want 1 cell mask. I can almost get there by exporting really small tiles, which is fine but for the densely pack cells i still get a couple of cell masks within the exported tile. Is this possible with arguments in the label server? could i iteratively generate a new class label for every cell and loop through those in the export? Any help would be amazing!