Use typedef for pixel type.