I am trying to extract Vegetation from an aerial image.
First I calculated a DEM for vegetation height and a binary image (0,1) for cover. Then I divided DEM by binary. Result was a raster with vegetation height data and “no-data”, which is what I want. This worked very well, until recently.
Suddenly I get “inf” instead of no data. I even tried to reproduce previous results and this is now happening there as well. I honestly have no idea what has changed. To reproduce the previous calculations I used raster images that definitely have worked before, but now they do not.
Has anyone any idea how I can get back my “no data” again? Alternatively how to deal with inf?
inf
ornan
but it can be just about anything. Maybe you could multiply by the binary instead