Skip to content

Voxels22Blobs

Adrian Quintana edited this page Dec 11, 2017 · 1 revision

convert_voxels22blobs

Purpose

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.

Usage

I. voxels --> blobs


$ convert_voxels22blobs ...


Parameters

  • `` Input voxel

  • `` Output blob volumes

  • -g [relative size1.41] = Distance between two grid samples in voxels

  • __OR__ Select a different grid type, by default it's BCC

  • -l [lambda0.05] = Relaxation parameter (between -2 and 2)

  • -final_error [error0.01] = If the correction between two iterations is smaller than this value (in percentage) then the process is stopped

  • -r [blob radius2] = Blob radius

  • -m [blob order2] = Blob derivative order

  • -a [blob alpha10.4] = It controls the blob smoothness

II. blobs-->voxels


$ convert_voxels22blobs ...


Parameters

  • `` Input blob
  • `` Output voxel volumes
  • -r [blob radius2] = Blob radius
  • -m [blob order2] = Blob derivative order
  • -a [blob alpha10.4] = It controls the blob smoothness

Examples and notes

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

Clone this wiki locally