This plugin already exists. It is USB_PDx ('x' because the plugin actually processes any number of percentile values simply listing these in the code). It is also enhanced to produce, as a byproduct, LAAx at any threshold value.
Current version takes as input a .tif file with lung already segmented. It is intended to be used in sequence to USB_LungSegment. Would be easy to have it call this same plugin at the beginning, but have kept them separate for now.
This plugin already exists. It is USB_PDx ('x' because the plugin actually processes any number of percentile values simply listing these in the code). It is also enhanced to produce, as a byproduct, LAAx at any threshold value.
Current version takes as input a .tif file with lung already segmented. It is intended to be used in sequence to USB_LungSegment. Would be easy to have it call this same plugin at the beginning, but have kept them separate for now.