I have an image that is stored in INDArray. I use this method
Nd4j.image (). imageResize (image, Nd4j.createFromArray (2, 2), ImageResizeMethod.ResizeBicubic);
and I get in place of this
[[[[ 167.0000, 153.0000],
[ 175.0000, 229.0000]],
[[ 158.0000, 146.0000],
[ 170.0000, 229.0000]],
[[ 150.0000, 139.0000],
[ 164.0000, 226.0000]]]]
this
[[[[ 247.0000, 248.0000, 251.0000, 251.0000, 244.0000],
[ 248.5000, 203.0000, 149.0000, 243.5000, 221.5000]],
[[ 251.0000, 252.5000, 252.5000, 251.0000, 246.0000],
[ 250.2500, 194.7500, 135.7500, 245.5000, 219.2500]]]]
what could be wrong?