...

/

Quiz: Changing Image Format

Quiz: Changing Image Format

Test yourself on what you have learned in the previous lesson.

We'll cover the following...
Technical Quiz
1.

Which line of code converts X-ray with MONOCHROME2 to MONOCHROME1 in the correct way?

A.

img = np.uint8(imagedata.pixel_array*255)

B.

img = np.invert(imagedata.pixel_array)

C.

img = np.uint16(imagedata.pixel_array)


1 / 3