Quiz: Changing Image Format
Test yourself on what you have learned in the previous lesson.
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
Get hands-on with 1400+ tech skills courses.