Given a topographic raster image.
How to iterate through all pixels of this raster image ?
Solution preferably with gdal, in the console. Some other libraries/scriptscripts could be installed.
Related: Gdal: How to get a pixel's value from raster image?, and How to conditionnally assign a new value to pixels of a raster image?.