Resize an RGB image
#3689
-
Hello I am trying to use a pipeline where I feed in RGB images. The images when read using
The output is (500, 500). I fear that I loose the color information in 3 channels. What will be an appropriate method to resample a RGB image. |
Beta Was this translation helpful? Give feedback.
Answered by
Nic-Ma
Jan 20, 2022
Replies: 1 comment 2 replies
-
Hi @vikashg , may I know why you use Thanks. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
vikashg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @vikashg , may I know why you use
x[0].shape
instead ofx.shape
?x
still contains 3 channels for RGB.Thanks.