Macro for deleting non-thresholded slices from a stack


Is there a macro that can be applied to a thresholded stack that will delete any slices that do not exhibit any thresholded areas?


Dear @Steven_Brookes,

I do not know of any such macro right off the bat, but making one should be rather straightforward.

Is this something you would code yourself, in order to learn some ImageJ scripting basics?