Created Function for reading and sampling 2D/3D image data

closes-#3544
Did you mean to keep `/Users/slauae/Downloads` in this input file?