Multi-Scan Processing

Hey guys,

Quick question for you about using WrapX to do multi-scan processing.
To be more precise, say I have 5 head scans I want to process all at once.

Is automation of something like this possible? Maybe with a python script.
How do alignment points get handled? How do I save them?

Loving the X! Great job! :slight_smile:

Hi,

with Python, you can use the os module to list content of a directory

for example if you have a dir with a subfolder for each expression you can use :

import os #import module to work with OS

scanDir = 'D:/tmp'
expressionList = os.listdir(scanDir) #Put subdireectories of D:/tmp in a variable

print expressionList

#Return ['EXPRESSION1', 'EXPRESSION2', 'NEUTRAL']

Then you can use a for loop to process each expression

for expression in expressionList:
    #do the wrapX magic

The only problem is that if you want a full automated process to do all of the 5 scans at once, you’ll need to have the registration points saved before as a txt, you can use wrap for that, check commands in the python reference.

Hi!

I wrote set of scripts named BatchWizard for you task. You can see it here https://github.com/Russian3DScanner/WrapXScripts/tree/master/BatchWizard

and download here https://github.com/Russian3DScanner/WrapXScripts/archive/1.1.1.zip

For your case with one basemesh and set of scans you can use GenerateConfig_ManyScansOneBasemesh.py script, select scans, then basemesh. It will automatically create directory structure layout like described in the first link. Then you cas use scripts SetControlPoints.py then DoWrapping.py and LineUp.py to see the results.

I’m recording a video with usage example of BatchWizard when you can control all the process per scan, and will post it here in some hours.

it will be really helpfull

thank you

M.°

Ok, here is the video:

http://www.youtube.com/watch?v=LgpLrxutyC8

thank you !!

Unbelievable, You guys are awesome! I’ll test it right away!

Thanks very much!