Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - ppant

Pages: 1 [2]
16

Hi ,

From the micasense support page what I understand is to mosaic the 10 band cameras we need to choose chunk.addfolder not the addphoto. The works when using the GUI version.

https://support.micasense.com/hc/en-us/articles/360002693373-Process-MicaSense-sensor-data-in-Agisoft-Metashape

I am trying to work on the python script to mosaic 10 band camera.  but chunk has no method to addFolder only I see add photos (version 1.5.5).  Likewise,  for 10 band camera raw images are store in two camera folders 1-5 on camera 1  and  6-10 other camera folder.

Do we need to put the image together in the same folder before mosaic?

Bit confusion when working on a python script to load and mosaic 10 band cameras images.


Thanks
Paras

 

17
When mosaicing larger field around 100 acre of area (1700 camera shot mica sense image ). The orthomosaic mosaicblending is creating strip noise pattern when images are reflectance corrected. if a small area is selected for mosaic those strips are not observed. Not sure why this is happening. Is there an issue with mosaic blending?

Is any one haveing such issue or I am missing some thing.


Thanks

18
When I mosaic the image with reflectance panel / sun senor correction I am seeing an artifact, a strip line in the mosaic image.  I feel these strips might correspond to images coming from the flight line. I am looking into color correction if possible to remove these artifacts. Could someone suggest how to apply these color correction? Should I need to apply these color correction on orthomosaic output or prior outputs? Or there are some ways to remove these.

I am not seeing those strip pattern when I mosaic the images without applying reflectance and sun sensor data correction.

Thanks

19
Hi,
I see the problem in orthomosaic result when my surface is concave in nature. The orthomosaic image is stretch. Because the flight lines are straight but between each camera shot there is a change in altitude. I am seeing the resulting orthomosaic is stretched. So is there a way to correct geo location in such case surface with concave nature.

Thanks,
ppant

20
In photoscan when we do multispectral mosiac by default master band is set to band 1, for example, In micasense rededge camera data defult master band will be blue. I want to change that to red-edge as it is the middle band in five cameras. This can be easily done is gui. But I am not able to figure is it possible with python script too.


Thanks
ppant

21
I am exporting a mbtiles with following piece of code.
Code: [Select]
chunk.exportOrthomosaic('c:\\tmp\\test.mbtiles',format=PhotoScan.RasterFormatMBTiles,image_format=PhotoScan.ImageFormatPNG,min_zoom_level=10, max_zoom_level=20,white_background=False,write_alpha=False)

When I choose
Code: [Select]
image_format= PhotoScan.ImageFormatJPEG

and export tiles in QGIS I can only see gray scale image.
When I change the image format to "PNG" I am seeing nothing in QGIS. Could someone explain to me how to export the colorized mbtiles for example from (CIR images ).

Thanks 

22
Python and Java API / Working with import mask for radiometric calibration
« on: February 06, 2018, 06:39:14 PM »
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
Code: [Select]
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
Code: [Select]
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

23
Python and Java API / Dense Point Cloud depth map
« on: February 01, 2018, 08:11:12 PM »
In photoscan 1.4 I am running a project via a python script when i generate the report I am bit confused and amazed. although i  compute a depth map while computing dense cloud point the depth map is recomputed again. see the section of a report. Why that is happening I  am not sure could anyone answers that or give inside how to avoid that recomputation again.

Depth Maps   
Count    1575
Reconstruction parameters   
Quality    Ultra High
Filtering mode    Aggressive
Processing time    3 hours 26 minutes
Dense Point Cloud   
Points    81,291,268
Reconstruction parameters   
Quality    Ultra High
Depth filtering    Aggressive
Depth maps generation time    3 hours 26 minutes
Dense cloud generation time    1 days 8 hours
DEM   
 

24
Python and Java API / Use of calibration panel in Photosann Version 1.4.0
« on: January 19, 2018, 04:55:22 PM »
Hello
In the new version of photosacn 1.4 there a option to locate the calibration panel
Code: [Select]
chunk.locateReflectancePanels()
When I see the documentation for this says "Locate reflectance panels based on QR-codes." From this, I can understand that calibration panel without QR code cannot be used ?. Because I have Spectralon  Reflectance panel and I can measure spectral reflectance factor at any time. Furthermore, 1.4 calibration process is only for RedEdge sensor or process works for Sequoia sensor too.

Thanks

ppant   

25
Python and Java API / Build Dem error in Photoscan 1.4.0
« on: January 17, 2018, 09:32:47 PM »
Hi,
I have a working Python script to communicate with photoscan 1.3.5 but when I upgrade to photoscan 1.4.0. the code fails. I fixed an issue with DenseCloudpoint generation. But not the issue is in DEM generation 
here is the code 

PhotoScan.app.console.clear()
doc = PhotoScan.app.document
psxfile ="c:/tmp/test.psx"   
doc.save( psxfile )
chunk = doc.addChunk()
chunk.matchPhotos(accuracy=PhotoScan.HighAccuracy, preselection=PhotoScan.ReferencePreselection, reference_preselection=True,keypoint_limit=40000,tiepoint_limit=4000)
chunk.alignCameras()
chunk.buildDepthMaps(quality=PhotoScan.UltraQuality,filter=PhotoScan.AggressiveFiltering)
chunk.buildDenseCloud(point_colors=True)
CS="EPSG::32634"
chunk.crs = PhotoScan.CoordinateSystem(CS)
chunk.exportPoints('c:/tmp/test.laz', colors=True, projection = chunk.crs)
doc.save( psxfile )
chunk.buildDem(source=PhotoScan.DenseCloudData, interpolation=PhotoScan.EnabledInterpolation, projection=chunk.crs)

the error I am getting here while calling  chunk.buildDem is

2018-01-17 13:24:03 Traceback (most recent call last):
2018-01-17 13:24:03   File "<console>", line 1, in <module>
2018-01-17 13:24:03 TypeError: expected CoordinateSystem object or 4x4 Matrix


Don't  know the source of error. It there a bug on buildDem ?. Because exportpoints is working well. 

Thank you for help in advance

pant





26
Hello
I am able to build the DEM and Orthomosaic with the same pixel resolution. But the problem I am facing is when I export them have a completely different origin and the region they cover. Is there a way to build and export them so that both will have the same origin and the region cover. I mean to export in such a way that there is a pixel correspondence between the ortho mosaic image and DEM image.

Thanks

Ppant

27
Python and Java API / Export CRI point cloud
« on: July 21, 2017, 09:17:11 PM »
HI
Is there a way to export CIR (Color and Infrared) point cloud from Photoscan. I am processing multispectral image.  I can export the colorized point could but. I am not able to see the open to see colorized based on nir, red and green band.

Thanks

PPant

28
Python and Java API / Removing photos below certain altitude
« on: July 07, 2017, 07:01:06 PM »
Hello
I am new to photoscan. I am trying to automate my photo mosaicing process. I am able to do most of the work with a python script. Load photos, align etc.  As there are many pictures in a single collection, I would like to delete some of the photos that are taken below some altitude. Is there a way I can do that.   

In the user interface I can select those photos and remove them. But in python scripting I am not sure How to achieve that.

Thank

PPant

Pages: 1 [2]