0

How can I call the process by which one gets from the first image to the second? And if there is such a process, how does it inherit it? Clearly, in the second image it simplifies just 3 colors, generating zones

enter image description here

enter image description here

New contributor
Raul Borda is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • It looks like the 2nd image is classified, choosing the parameters will be the hard bit and application depends on your API, what API(s) do you have available for python or java? – Michael Stimson Dec 2 at 22:39
  • I need to create my own API that will carry out this transformation. For him, I can have javascript python on my server – Raul Borda Dec 2 at 22:41
  • 1
    I don't recommend that, have a look at GDAL for python or RasterIO to do the hard work. Writing an API to read a raster in either java or python would be nearly impossible. Have a read of docs.python.org/2/library/struct.html and stackoverflow.com/questions/3209898/… which would be an absolute manditory requirement for reading an unknown structure natively and compare with gdal.org/python to do the binary work like in this tutorial gdal.org/tutorials/raster_api_tut.html – Michael Stimson Dec 2 at 22:58
  • Welcome to GIS SE! We're a little different from other sites; this isn't a discussion forum but a Q&A site. Your questions should as much as possible describe not just what you want to do, but precisely what you have tried and where you are stuck trying that. Please check out our short tour which emphasizes that there should be only one question asked per question. Asking about JavaScript and Python doubles the number of questions that you are asking. – PolyGeo Dec 2 at 23:10

Browse other questions tagged or ask your own question.