(count, row, col, height, width)
| 59 | |
| 60 | # Measures the total number of pixels that were involved in pixel sort |
| 61 | def measure(count, row, col, height, width): |
| 62 | global total |
| 63 | total += count |
| 64 | if row == height - 1 and col == width - 1: |
| 65 | createDataSet(val=total) |
| 66 | |
| 67 | |
| 68 | # Step Sorting Algorithm |