Hello,
I am working on a python script to import masks for reflectance calibration. I have a white reference images and a mask file. This a code I am reading. This white reference are micasense QR one.
If I do
chunk.locateReflectancePanels()
white reference is loaded and when I chick the Mask in GUI for white reference I see a white rectangle over my Image as Masks.
Now the same thing I try this way where I load white image bands mask image for each band from file
white_name = [['C:/tmp/IMG_0003_1.tif',
'C:/tmp/IMG_0003_2.tif',
'C:/tmp/IMG_0003_3.tif',
'C:/tmpIMG_0003_4.tif',
'C:/tmp/IMG_0003_5.tif']]
chunk.addPhotos(white_name, PhotoScan.MultiplaneLayout)
chunk.importMasks(path='C:/tmp/mask/{filename}_mask.png', source=PhotoScan.MaskSourceFile,
operation=PhotoScan.MaskOperationReplacement)
group = chunk.addCameraGroup()
camera = chunk.cameras[0]
camera.group = group
group.label = "Calibration images"
When I try to see the mask in GUI, click mask in GUI I am not able to see which area is a mask. Am I doing something wrong
Could someone shade light on this issue. or it's not possible to see mask if I load the mask image separately.
Thanks
ppant