2019-10-07 21:38:42 -0600 | received badge | ● Popular Question (source) |
2016-06-06 05:23:17 -0600 | received badge | ● Necromancer (source) |
2016-06-06 05:23:17 -0600 | received badge | ● Self-Learner (source) |
2016-06-06 05:08:53 -0600 | answered a question | Read/extract pixel value of a GeoTiff Ok I finally got it working and of course, all I needed was the original GDAL Tutorial (http://www.gdal.org/gdal_tutorial.html) and some tweaking. However, I will have to make a serious workaround to implement the opencv functionality in a regular qt window, because the highgui windows can't do what I need it to. Here's the complete code fragment if anyone else ever needs it: |
2016-04-25 03:21:36 -0600 | commented answer | Read/extract pixel value of a GeoTiff That's unfortunate, thanks for your input! I'll try some other things and keep this updated. |
2016-04-21 07:30:38 -0600 | commented question | Read/extract pixel value of a GeoTiff OpenCV + GDAL
|
2016-04-21 04:38:15 -0600 | asked a question | Read/extract pixel value of a GeoTiff Hi there! I'm using Qt with GDAL and OpenCV to convert and display GeoTiffs. Showing works fine, the images open in the opencv popup window and I can pan and zoom around. What I want to do now is click on the image and read out the stored value of the GeoTiff, which differs from altitude/elevation to volume or others calculations I have done before. In GIS applications you have the "identify" tool which shows the layer information ((F)ID, attributes, channels and the values), that's what I want, the value of a specific coordinate by clicking on it. I tried it with GDAL, but there should be a better way to do it directly with opencv, right?
Again, I'm not trying to read RGB values, but the ones that are stored in the GeoTiff Channel 1 (which are 32Bit Floating Point Images with values from zero to several million). Best regards and thanks for pointers in the right direction! M |