Both represent images as numeric arrays of pixel values. getImageData returns a flat Uint8ClampedArray (0-255 RGBA). An image tensor returns a shaped float32 tensor (often [h, w, 3]).