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 - 3dmij

Pages: [1]
1
Face and Body Scanning / Automatic bounding box creating for full body scan
« on: February 02, 2016, 05:37:10 PM »
Hi Everyone,

Well I think is "just" took me about 2 years to nail this script, so I thought it was time to share with you all.

I have created an script that based on floor markers and side markers, fully automatically created a correct bounding box, so you can easily cut out floor and have correct orientation for games engines like unity / mixamo.

Here the instructions and download to the script and floormat design:
http://www.pi3dscan.com/index.php/instructions/item/agisoft-how-to-process-a-scan-with-projection

2
Python and Java API / Automatic create leveled bounding box
« on: February 02, 2016, 05:16:13 PM »
Hi Everyone,

Well I think is "just" took me about 2 years to nail this script, so I thought it was time to share with you all.

I have created an script that based on floor markers and side markers, fully automatically created a correct bounding box, so you can easily cut out floor and have correct orientation for games engines like unity / mixamo.

Here the instructions and download to the script and floormat design:
http://www.pi3dscan.com/index.php/instructions/item/agisoft-how-to-process-a-scan-with-projection

3
Feature Requests / hotkeys for Navigation and free-form selection
« on: May 18, 2015, 05:48:28 PM »
Hi,

Would it please be possible you add hotkeys to the navigation and free-from selection tool (and maybe the other tools).

I like to do clean up on the dense cloud and remove points that are not needed. I need to often swith between navigation and free-form selection and it would make it much easier if I can just do this by hotkey.


Thanks,
Richard

4
Hi,

I have a full body scanner (110 cameras) and am trying to automate to create a proper bounding box and then later to match the coordinate system to the bounding box. That last part works with the script publish on the wiki. (Thanks!)

My cameras are in an oval around the person. I want to use the location of 4 "corner" cameras in the buttom row to automatic set the bounding box.

I am able to center the bounding box based on these 4 cameras, but have a really hard time understaning the rotation numbers, this complex matrix.

Can someone please give me a better understanding how the rotation numbers work? Can I use certain points (camera locations) to calculate the correct rotation of the bounding box?

This is what I have so far: (to center the bounding box based on the 4 corner cameras)

Code: [Select]
import PhotoScan
import math
doc = PhotoScan.app.document

chunk = doc.chunks[0]
newregion = chunk.region

print ("Current region size: ", newregion.size)
print ("Current region center:", newregion.center)
print ("Current region rotation:", newregion.rot)

for camera in chunk.cameras:
    if camera.label == '211.jpg':
        c1 = camera
    if camera.label == '101.jpg':
        c2 = camera
    if camera.label == '151.jpg':
        c3 = camera
    if camera.label == '166.jpg':
        c4 = camera

print ("Camera centers:")
print (c1.center)
print (c2.center)
print (c3.center)
print (c4.center)
print (" ")

x = (c1.center[0] + c2.center[0] + c3.center[0] + c4.center[0] ) /4
y = (c1.center[1] + c2.center[1] + c3.center[1] + c4.center[1] ) /4
z = (c1.center[2] + c2.center[2] + c3.center[2] + c4.center[2] ) /4

print ("X average: ", x)
print ("Y average: ", y)
print ("Z average: ", z)
print (" ")

m = PhotoScan.Matrix([c1.center, c3.center, c5.center])

updateregion = PhotoScan.Region()
updateregion.center = PhotoScan.Vector([x,y,z])
updateregion.rot = m
updateregion.size = newregion.size

chunk.region = updateregion

5
I just wrote an instruction on how to process with agisoft a scan with noise projection. Meaning that you have 2 images sets, one with projection that can be used to render a good quality Mesh and 1 image set without projection to create the texture.

http://www.pi3dscan.com/index.php/instructions/item/agisoft-how-to-process-a-scan-with-projection

You will also find sample files on my site, so you can test it out.

This process is supported by both version of agisoft.

Enjoy!
Richard

6
Face and Body Scanning / Cheap Face 3D Scanner
« on: February 16, 2015, 01:17:23 AM »
I just did some testing with just 10 Raspberry PI cameras with modified lenses. The lenses are a bit more "zoom" and have easy manual focus, so I can really shoot a face close by. shooting distance is about 70cm.

i have add 2 projectors to create noise.

You can download the original image sets here: http://www.pi3dscan.com/index.php/download/item/example-model-face-scan-with-10-cameras

There are 3 image sets
- Normal (to create texture)
- With projection (to create the mesh)
- Empty (to create mask from background)


7
Face and Body Scanning / New sample images/scan sets released
« on: January 11, 2015, 01:43:33 PM »
Hi,
I just released a few new 3D scan image sets, including processed data (with agisoft). These scans have 2 images sets each. One with projection and one with out. You you can use the projection set to create the mesh in agisoft. Then you can export the mesh and camera settings. Create a new chunk with the images without projection, import the camera settings and mesh and then you can create the texture without any of the projection shown.

You can find the sample 3D scan sets here: http://www.pi3dscan.com/index.php/download/category/sample-scan-files

8
Python and Java API / Using scalebar based on known camera distance
« on: December 02, 2014, 01:36:44 AM »
Hi,
I am trying to workout how I can easily calibrate my environment. I have a fixed setup of 19 poles with 100 cameras on them.

I know the exact distance between all my cameras and I get easily get the location from each camera after camera calibration.

Can I use the scalebar to set the real distance between 2 cameras to calibrate the entire environment? The documentation is a bit thin on the scalebar functionality :-(

Hope someone can help.
Richard

Pages: [1]