Added auxiliary methods to extract selected rows of image data