Added method for set pixel value by index in ImagePlane.h