Creates a single image tensor in CHW format
number of channels (e.g., 3 for RGB, 1 for grayscale)
image height in pixels
image width in pixels