-
Notifications
You must be signed in to change notification settings - Fork 1
Voxels22Blobs
This program allows you to go from a blob volume to a voxel one and viceversa. The blob to voxel volume is a direct problem solved at once. However, the voxel to blob is an inverse problem to which an iterative process is applied. It has got two iteration parameters: lambda which controls the convergence speed and the final error which controls the accuracy achieved on the conversion.
I. voxels --> blobs
$ convert_voxels22blobs ...
Parameters
-
`` Input voxel
-
`` Output blob volumes
-
-g [relative size
1.41] = Distance between two grid samples in voxels -
__OR__
Select a different grid type, by default it's BCC -
-l [lambda
0.05] = Relaxation parameter (between -2 and 2) -
-final_error [error
0.01] = If the correction between two iterations is smaller than this value (in percentage) then the process is stopped -
-r [blob radius
2] = Blob radius -
-m [blob order
2] = Blob derivative order -
-a [blob alpha
10.4] = It controls the blob smoothness
II. blobs-->voxels
$ convert_voxels22blobs ...
Parameters
- `` Input blob
- `` Output voxel volumes
-
-r [blob radius
2] = Blob radius -
-m [blob order
2] = Blob derivative order -
-a [blob alpha
10.4] = It controls the blob smoothness
A command sequence to test could be
$ phantom_create -i phantom.descr -o phantom.vol
$ convet_voxels22blobs -voxels phantom.vol -o phantom.blob
$ convert_voxels22blobs -blobs phantom.blob -o phantom2.vol
After applying this sequencephantom.vol
andphantom2.vol
should look like identical.
--Main.AlfredoSolano - 23 Jan 2007