Including specific treshold values in macros
How can I include specific threshold values in macro? When analysing branching - firstly I get the sceletonized image and apply the "Branch End filter" to images. After that is possible to define the threshold parameters for different classes: tips, branches and lines in between, but I have to do that by hand for every picture separately. Can I somehow include the specific threshold values in macro, so that the procedure could be more automized and not so time consuming?
And also - when defining the threshold parameters for different classes - they always have to be in the exact order, otherwise the count wont work. For branches the values are 31-50, for tips 11-20 and for lines 21-30. Why the specific order?