BrownBiomechanics / Autoscoper

Autoscoper is a 2D-3D image registration software package.
https://autoscoper.readthedocs.io
Other
8 stars 5 forks source link

render resolution effects #216

Open amymmorton opened 11 months ago

amymmorton commented 11 months ago

@mjrainbow

Excessive downsampling can have negative results: Both image sets are from previously tracked wrist data - with loaded results for the mc3- frame 0 of the trial (WN00106 hammer.cfg). Filter settings were identical (file attached as .txt control_settings.txt )

redSize_ncc

The drr and (unmasked) rad pairs on the left are the result of 512 x 512 renderResolution var values. The resultant buffer image size: 122x92. The initial pose ncc was 1.28

The pair on the right are result of using 880 x 880 renderResolution variable value. Resultant buffer size 210x158 , Initial pose ncc 1.06

Furthering this investigation, I also tried 1280 and 1760(the pixel dimension of our Keck Facility IIs) The nccs were 1.05 and 1.04 respectively rr1280_1760

amymmorton commented 10 months ago

Digging a little deeper- render width and height input in the cfg file also dictates the gpu Buffer dimensions.

The size of each buffer (drr, rad, drr mask, background) are : W x H x 4 (4 == sizeof(float))

This means that 880 by 880 the buffer is roughly 3M 512 by 512 is approx 3 times smaller, roughly 1M