reads subset of lines from an image

read_image_subset(ImPath, HDR, Line_Start, Lines_To_Read, ImgFormat = "3D")

Arguments

ImPath

path for the image

HDR

header information corresponding to the image

Line_Start

which line to start reading

Lines_To_Read

number of lines to read

ImgFormat

character. is it a matrix (2D) or a raster (3D)?

Value

data corresponding to the subset in original 3D format