Open evangeline-corcoran opened 1 year ago
I think we could incorporate this into the PixelflowResult
class that is returned, e.g. we pass an analysis or "reduce" function to pixelflow
and that is automagically added to PixelflowResult
I'm addressing this in the branch IFenton-14-CustomFunctions
I've been considering how this can be implemented through pixelflow, and it seems there are two options:
@evangeline-corcoran do you have any preferences? I think I have a slightly preference for the second option, as the secondary function can't then interfere with the main pixelflow analysis, plus you could run multiple separate functions in succession, but I can see benefits to both.
E.g. I have a script that sorts predicted seeds into valve and collects valve related measurements, but requires bbox, centroid, major axis length and minor axis length from regionprops as inputs.
Can this be run one step or would it need to be a second step after calculating regionprops features?