Is there any way to get LabelStatistics to the python?

I want to get these datas to the script for GUI development.
Is there any command to get these datas?

Yes - you can access the LabelStatisticsLogic and you can calculate these values. (Note that in newer Slicer we suggest using Segment Statistics, which is similar).

1 Like