Hi,
I am doing experiments about bed morphology in a movable bed flume and am specifically examining sediment sorting when using different sediment grading curves. The differently sized sediments have different colors to visualize those sorting processes. I already have a Python-skript from my predecessor that takes the pictures of the flume, applies them to a defined region and exports a DEM in Raster format (aka x-y-z Koordinates) which I then analyze and visualize with a Matlab skript.
I now want to add how to export the rgb colors of each raster point along with its coordinates in the phython skript but I haven't found any way to do so. Is that even possible and if so, how can I accomplish it? Any help would be appreciated, as I am quite new to both metashape and python.
Heres the code I'm using:
chunk.exportRaster(path = path_DEM_XYZ,image_format = Metashape.ImageFormatXYZ,raster_transform = Metashape.RasterTransformNone,source_data = Metashape.DataSource.ElevationData, resolution_x=0.0005, resolution_y=0.0005)
chunk.exportRaster(path = path_DEM_ASC,image_format = Metashape.ImageFormatNone,raster_transform = Metashape.RasterTransformNone,source_data = Metashape.DataSource.ElevationData, resolution_x=0.0005, resolution_y=0.0005)
Thank you in advance
Tori