CLI Command "Change Image Path"

Hi,

 

I wonder if there is already a command to be able to change the image path for input images?

We need to be able to change the image path after an alignment and reconstruction.

This is useful when running a multi-light capture system if the user needs to re-texture a subject using a different set of images. The images will be named exactly the same, the only change will be the folder name where they are stored.

We can set “addFolder” “folderName” but no way to change folder name to repoint paths to a different set of images. Perhaps a command like “changeFolder” “folderName”

Would this be possible?

Thanks,

INFINITE

As a paying CLI (Technical support) customer. Any help from CR would be greatly appreciated.

Hello admin from IR,

currently there is no RC command that allows this but I will forward this to the developers for discussion.

In the meantime you can either replace the source images in the original folder using the Windows commands or you can rewrite the paths directly in the .rcproj file. 

In the application Help, you can download the script that shows how to replace the images in the source folder so that a different set of images is used for alignment and reconstruction and a different set of images is used for texturing. In this case the camera positions for both sets of images have to be the same. The path to the specific section in Help is:

Export, Import and Re-use Computations: -> Full-body Scans and Coordinate System Preservation -> Coordinate System Preservation with XMPs

The workflow is described in this video:

https://www.youtube.com/watch?v=yzT6boJOQto

In the future, in order to make sure that we respond to your inquiry as soon as possible please contact us via contact form on our webpage . Thank you.

Yes. This is the current workflow I have been using but it’s not practical on large scale data sets of many images. Altering the .rcproject paths each time on batch is an extra manual process that has to be done carefully and thoughtfully. Same with folder renaming or moving image data sets around. It would be more ideal to be able to run specific scripts that support that command to alter the image paths using .bat files. There would then be less room for human error and more scope automation.

I will stick to the current work around. Thank you.

I posted here so that others could benefit from the discussion.

Yes this is possible since the latest release :-)  (v1.0.3.9696) 

 

It is called “layered images”. You need rename the images that will be used for texture as “.texture.jpg”

So for example for each image you need:

image1.jpg
image.1.jpg.texture.jpg

When you import the folder, click on any image. You will see the normal name at the filename and in the “texturing layer” you will find the other image name.

2 years on, ‘others’ benefitted from this post… Thank-you for your sense of community ‘admin from IR’