lets-plot-kotlin
lets-plot-kotlin copied to clipboard
How to make geomImage display 2d array?
Is it possible to use geomImag like in this examples?
https://nbviewer.org/github/JetBrains/lets-plot-docs/blob/master/source/examples/cookbook/image_101.ipynb
We haven't added geomImage to the Kotlin API yet.
Perhaps we should do it.
Currently you can try to use geomRaster (see an example in its Python' counterpart geom_raster). It doesn't work with 2d arrays though.
Hi @koodzi ! What data-structure(s) would be preferable for storing a grayscale (2D) or color (RGB(A) - 3D) image data? Do you read images from files (png, tif, DEM-files) or generate them?