[stackoverflow] [progress Openedge Abl] Skimage.color.rgb2gray(rgb) For 16 Bits

Status
Not open for further replies.
R

Rabih Assaf

Guest
Hello i want to convert a 16 bits image to a rgb image. but it seems that the code implemented down works only for 8 bits images.

rgb = skimage.color.gray2rgb(image)
rgb[5:10, 5:10, 0] = 200
skimage.io.imsave("D:\\blabla.tif", rgb)

Continue reading...
 
Status
Not open for further replies.
Top