...

/

Quiz: Changing Image Format

Quiz: Changing Image Format

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

We'll cover the following...
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)

Question 1 of 30 attempted
Access this course and 1400+ top-rated courses and projects.