Because of Contextcapture limitations there is sometimes a need to place masks on some photos. For example towers with masts. The mast otherwise is lost in production as it is not possible to photo it without sky or ground and because stastitically most points are on ground then the mast is discarded as irrelevant even if it have some tie points which are more precise as ground points. The statistical approach doesn't work in theses cases.
Is there any mask tool(Bentley or 3rd party) which could be easy to use and produce mask TIF files? Using Paint or Photoshop is a slow process. Agisoft has it already implemented in Photoscan internally though the tools are also not the easiest to use. Saying that CC can do everything automatically is just a marketing and in real-life situations it doesn't always work like magic.
Also how to attach masks to existing project and loaded photos?
Created this Photoshop script to help export BW TIFF mask file. Still this seems an excess usage of PS just for such simple task.
#target photoshop app.bringToFront(); //Convert to monochrome var cnvtOpts = new IndexedConversionOptions(); cnvtOpts.colors=2; cnvtOpts.transparency=false; cnvtOpts.forced=ForcedColors.BLACKWHITE; cnvtOpts.dither=Dither.NONE; activeDocument.changeMode(ChangeMode.INDEXEDCOLOR, cnvtOpts); //Save Options for TIFF TiffSaveOptions=new TiffSaveOptions() TiffSaveOptions.imageCompression=TIFFEncoding.TIFFLZW; TiffSaveOptions.alphaChannels=false; TiffSaveOptions.transparency=false //Folder((fnp=(aD=activeDocument).fullName.parent+'/Mask/')).create() fnp=(aD=activeDocument).fullName.parent+'/'; aD.saveAs(File(fnp+aD.name.substr(0,aD.name.length-4)+"_mask"),TiffSaveOptions) aD.close(SaveOptions.DONOTSAVECHANGES)
Photoshop-export-tiff-mask.zip
I was wondering if you've been able to add mask TIFF files made in Paint to your ContextCapture. For some reason, they when I drag them into the "photo input" area, I can't see that they've been added. Do you know if there is a place or some way that I can check if my mask worked?
You do not drag them in input you either name them correctly and they will be added automatically on next import or you have to add manually by right clicking on photo and add mask. Unfortunately there is no option to rescan directory and add masks newly created masks.