I am trying to write in Python the following command:
run("Gray Scale Attribute Filtering", "operation=Closing attribute=[Box Diagonal] minimum=50 connectivity=4")
It’s a while that I am trying to figure it out :-/ I wouldn’t like to use the IJ.run() command but rather call the class directly - to not have to show the image.
I saw this question (very clear answer!)
but I cannot translate it to the GrayscaleAttributeFilteringPlugin class.
Please help - I am completely stuck
many thanks in advance!