Export all pixel data from subset

Have you tried with StatisticsOp in GPT? Maybe it is worth exploring: