How radiomics calculate numbers

Hi all,

I got some basic questions about radiomics. Say I have input image A and a lablemap B as input region, I got first-order features like mean, min, max using Radiomics. I assume Radiomics first generate an array using the input image and labelmap, then got all the feature numbers from that array. Is it possible to output this array? I want to change the array by set up a threshold, for example change all numbers less than 0.5 to 0 in the array, then I can generate a new lablemap from this array. Next, I can get features using this new lablemap. Is this doable or I am in a totally wrong direction?

Thank you!