Program is ok, except that it uses an awfully slow loop to check pixels instead of a single command, this is 1 point minus. There's no comment on the different image backgrounds of approach 1 and 2, also the background distance between the two approaches is not shown using histeq, hence it's just a black image. That's -1 point. There are no comments written, that explain what's done, especially no analysis if the second approach makes more/less sense. This analysis was required. that's -2 points. => 6/10