Projects:SlicerFAQ:SamplePoints

From NAMIC Wiki
Jump to: navigation, search
Home < Projects:SlicerFAQ:SamplePoints

How many sample points should I choose for my registration

  • Problem: unsure what the Sample Points setting means or how I could use it to improve my registration.
  • Explanation:All registration modules contain a parameter field that controls how much of the image is sampled when performing an automated registration. The unit is often an absolute count, but in some cases also a percentage. Default settings also vary among modules. The number of samples is an important setting that determines both registration speed and quality. If the sample number is too small, registration may fail because it is driven by image content that insufficiently represents the image. If sample number is too large, registration can slow down significantly.
  • Fix: If registration speed is not a major issue, better to err on the side of larger samples. Most default settings are chosen to yield relatively fast registrations and for most of today's image represent only a small percentage. The table below relates total sample points and percentages to the most common image sizes. Also consider that sample points are chosen randomly so that some points may fall outside the actual object to be registered. That is not a bad thing per se, some background points are important, but not if they are too far from the edges of the object.
 Defaults Used in Slicer Modules v.3.6.1
 Fast Rigid / Linear: 10,000
 Fast Affine: 10,000
 Fast Rigid: 10,000
 Fast Non-Rigid BSpline: 50,000
 Expert Automated (Rigid): 1%
 Expert Automated (Affine): 2%
 Expert Automated (BSpline): 10%
 BRAINSfit: 100,000
 BRAINSdemon Warp: N/A 
 Robust Multiresolution: N/A
 Surface Registration: 200

Image Size Total Points 10,000 50,000 100,000 200,000 1% 2% 5% 10% 20%
128 x 128 x 64 1,048,576 1.0% 4.8% 9.5% 19.1% ~10,000 ~20,000 ~52,500 ~10,0000 ~200,000
256 x 256 x 30 1,966,080 0.5% 2.5% 5.1% 10.2% ~20,000 ~40,000 ~97,500 ~200,000 ~400,000
256 x 256 x 120 7,864,320 0.1% 0.6% 1.3% 2.5% ~77,500 ~150,000 ~400,000 ~775,000 ~1,500,000
192 x 192 x 192 7,077,888 0.1% 0.7% 1.4% 2.8% ~70,000 ~150,000 ~350,000 ~700,000 ~1,500,000
512 x 512 x 48 12,582,912 0.1% 0.4% 0.8% 1.6% ~125,000 ~250,000 ~625,000 ~1,250,000 ~2,500,000
256 x 256 x 256 16,777,216 0.1% 0.3% 0.6% 1.2% ~175,000 ~325,000 ~850,000 ~1,750,000 ~3,250,000
512 x 512 x 160 41,943,040 0.0% 0.1% 0.2% 0.5% ~425,000 ~850,000 ~2,000,000 ~4,250,000 ~8,500,000