Figure 6
From: GPU-Accelerated GLRLM Algorithm for Feature Extraction of MRI

Illustration of the second step, a reduce-by-key leaves a single key_IG for consecutive ones and count its run length once for all.
From: GPU-Accelerated GLRLM Algorithm for Feature Extraction of MRI
Illustration of the second step, a reduce-by-key leaves a single key_IG for consecutive ones and count its run length once for all.