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.


Messages - monsterchrist

Pages: [1]
1
Face and Body Scanning / Re: batch aligning chunks
« on: May 02, 2019, 08:25:07 AM »
Hi Alexey,
I had forgotten about this post until looking up another problem tonight. In the batch, I am using the job only once, and I select the reference in the batch. I have since written a for loop in python that works. This fixes the issue by always using my first chunk to align all of my other chunks to it, but now I'm running into other issues.

To give you further context, I am hoping to use point based align chunks to get a first pass rigid alignment on my facs shapes. I use my neutral as my reference chunk and I am masking off bony landmarks on the neutral photos and setting the align chunks to use masks. I'm using this paper to help with the landmarks

http://studios.disneyresearch.com/publication/rigid-stabilization/

This seemed to work perfectly, and was going to save us tons of time until I realized that the align chunks is scaling the my meshes. I confirmed that this is a problem, by:
    solving a a chunk up to the mesh phase
    propagating scale (we use a measuring device that is set up in ground control)
    duplicating that chunk
    aligning the duplicate
    exporting both meshes and doing a 3 point alignment in Maya


I've set "fix scale" (only available through script?)  in my script and it doesn't seem to respect scaling either. As you can imagine the scaling issue is less than ideal since I am using this for facial expressions, not aligning chunks to merge them.

I don't think align chunks was intended to be used this way, but I was hoping that it could fill this need by setting specific options. Am I using this function incorrectly? is there any way to get the results I'm after? 

2
Face and Body Scanning / Re: Calling a batch processes .xml from python
« on: December 07, 2018, 03:33:07 AM »
Awesome. Thanks Alexey for clearing that up.

3
Face and Body Scanning / Re: Calling a batch processes .xml from python
« on: December 03, 2018, 07:50:13 AM »
Looks like there's a reply here

http://www.agisoft.com/forum/index.php?topic=7529.msg36060#msg36060

Is it still the case that we cant call the batch job without parsing .xml into the python script? 

4
Face and Body Scanning / Calling a batch processes .xml from python
« on: December 03, 2018, 07:05:08 AM »
Howdy folks,

I am wondering if there's a way to load a batch process .xml from a python script.
  • I have a bunch of projects that live in their own folders.
  • From an empty scene, I'd like to run a script that looks at the folder with the xml's, loop though them and copy the .xmls over to a folder marked "done". 
  • I'd like to set up the batch of jobs specific to each project, save the xml file in a folder of jobs ready to be processed.
With some tinkering, I can write the script to do all the os stuff,  but I can't find reference to loading a batch job process .xml in the api documentation.

Thanks!

5
Face and Body Scanning / Re: batch aligning chunks
« on: December 03, 2018, 05:35:52 AM »
Thanks for the reply Infinite, I'd almost given up on this post.

I have a fixed camera system and all of my camera names are the same and I use "align chunk" in camera mode to propagate scale and relative position to all other chunks. This seems to work in batch though agisoft could be switching the reference chunk to the one just completed and I'd never know. That's fine though.

I want to use point based alignment in this specific case. I want to get a decent rigid alignment based on my neutral front. It works as expected on the first chunk, but I suspect that Agisoft is changing my reference chunk when align chunk works in batch because every chunk after are rotated and moved into a completely different space than the reference chunk. 

I have a script that loops though the doc.chunks aligning each to the the selected chunk but it would be better if it worked in batch process so I could select and exclude some chunks.  I can disable chunks but that isn't ideal because I have other scripts I use that need and scripts work on the .doc.

6
Face and Body Scanning / Re: batch aligning chunks
« on: November 08, 2018, 01:08:02 AM »
Anyone?

7
Face and Body Scanning / batch aligning chunks
« on: October 31, 2018, 06:43:38 PM »
I searched around for this and couldn't find a solution right a way. 

I want to automate a bunch of tasks using batch and walk away. One of things I want to do is align all other chunks based on the first chunk. It seems Align chunks works with points differently in batch vs running it as the command in the gui. Ran through batch, it does the 2nd chunk based on the 1st and all subsequent chunks are all over the place.

I've set the reference chunk to be the first chunk. Is there something I'm missing?

thanks!
Brad

8
General / Re: 8 vs 16 bit Images
« on: February 27, 2015, 01:31:35 AM »
Has there been an official fix for this?

Pages: [1]