Menu

Extracting full list of values from a multi-label ROI file

Help
2018-09-09
2018-09-09
  • Nagesh Adluru

    Nagesh Adluru - 2018-09-09

    Hi Nick, Brian,

    Is there a utility in ANTs package that can get the list of image values for a given multi-label ROI file?

    ImageMath has LabelStats that gives mean values per ROI but I wanted to get the full list of values per ROI.

    It has SetOrGetPixel but I don't an easy to get a list of pixel coordinates just using ANTS. I can switch to Matlab and do it but I would like to stick to ANTS and command line if possible.

    Is there such a utility? Please let me know!

    Thanks so much.
    Nagesh

     
    • Nick Tustison

      Nick Tustison - 2018-09-09

      No, for something like that we would got to ANTsR which, I imagine, serves a similar functionality as Matlab does for you.

       
  • Nagesh Adluru

    Nagesh Adluru - 2018-09-09

    Got it Nick! Thanks.