BUG: Fixed two bugs in this program and did various small clean-ups to the code; it now works correctly, at least on my test image.
BUG: Fixed two bugs in this program and did various small clean-ups to
the code; it now works correctly, at least on my test image.

CapeDrew/DCMTK-ITK,InsightSoftwareConsortium/ITK,hjmjohnson/ITK,PlutoniumHeart/ITK,heimdali/ITK,heimdali/ITK,LucHermitte/ITK,CapeDrew/DITK,wkjeong/ITK,zachary-williamson/ITK,InsightSoftwareConsortium/ITK,CapeDrew/DCMTK-ITK,richardbeare/ITK,daviddoria/itkHoughTransform,eile/ITK,InsightSoftwareConsortium/ITK,cpatrick/ITK-RemoteIO,BRAINSia/ITK,zachary-williamson/ITK,paulnovo/ITK,cpatrick/ITK-RemoteIO,hendradarwin/ITK,PlutoniumHeart/ITK,CapeDrew/DCMTK-ITK,heimdali/ITK,BlueBrain/ITK,Kitware/ITK,CapeDrew/DCMTK-ITK,richardbeare/ITK,CapeDrew/DITK,fedral/ITK,fedral/ITK,wkjeong/ITK,hjmjohnson/ITK,daviddoria/itkHoughTransform,BlueBrain/ITK,heimdali/ITK,biotrump/ITK,hjmjohnson/ITK,zachary-williamson/ITK,thewtex/ITK,BlueBrain/ITK,atsnyder/ITK,jcfr/ITK,ajjl/ITK,jcfr/ITK,fedral/ITK,fuentesdt/InsightToolkit-dev,BlueBrain/ITK,paulnovo/ITK,CapeDrew/DCMTK-ITK,thewtex/ITK,hendradarwin/ITK,eile/ITK,fedral/ITK,hjmjohnson/ITK,PlutoniumHeart/ITK,hinerm/ITK,msmolens/ITK,BlueBrain/ITK,thewtex/ITK,daviddoria/itkHoughTransform,heimdali/ITK,biotrump/ITK,LucasGandel/ITK,vfonov/ITK,blowekamp/ITK,LucasGandel/ITK,rhgong/itk-with-dom,daviddoria/itkHoughTransform,atsnyder/ITK,itkvideo/ITK,itkvideo/ITK,InsightSoftwareConsortium/ITK,eile/ITK,GEHC-Surgery/ITK,eile/ITK,blowekamp/ITK,blowekamp/ITK,vfonov/ITK,jmerkow/ITK,zachary-williamson/ITK,wkjeong/ITK,spinicist/ITK,hendradarwin/ITK,jmerkow/ITK,stnava/ITK,spinicist/ITK,spinicist/ITK,jcfr/ITK,hendradarwin/ITK,biotrump/ITK,msmolens/ITK,msmolens/ITK,malaterre/ITK,LucasGandel/ITK,hinerm/ITK,LucasGandel/ITK,wkjeong/ITK,CapeDrew/DITK,richardbeare/ITK,heimdali/ITK,hendradarwin/ITK,eile/ITK,msmolens/ITK,malaterre/ITK,zachary-williamson/ITK,itkvideo/ITK,zachary-williamson/ITK,malaterre/ITK,atsnyder/ITK,CapeDrew/DITK,cpatrick/ITK-RemoteIO,daviddoria/itkHoughTransform,BRAINSia/ITK,hinerm/ITK,jmerkow/ITK,stnava/ITK,GEHC-Surgery/ITK,spinicist/ITK,vfonov/ITK,hjmjohnson/ITK,jcfr/ITK,rhgong/itk-with-dom,eile/ITK,hinerm/ITK,jcfr/ITK,GEHC-Surgery/ITK,CapeDrew/DITK,spinicist/ITK,BRAINSia/ITK,spinicist/ITK,paulnovo/ITK,CapeDrew/DCMTK-ITK,LucHermitte/ITK,BlueBrain/ITK,GEHC-Surgery/ITK,fuentesdt/InsightToolkit-dev,PlutoniumHeart/ITK,thewtex/ITK,Kitware/ITK,zachary-williamson/ITK,hjmjohnson/ITK,hjmjohnson/ITK,richardbeare/ITK,stnava/ITK,stnava/ITK,InsightSoftwareConsortium/ITK,blowekamp/ITK,fbudin69500/ITK,msmolens/ITK,fuentesdt/InsightToolkit-dev,msmolens/ITK,itkvideo/ITK,LucHermitte/ITK,PlutoniumHeart/ITK,wkjeong/ITK,itkvideo/ITK,Kitware/ITK,LucHermitte/ITK,fuentesdt/InsightToolkit-dev,rhgong/itk-with-dom,atsnyder/ITK,CapeDrew/DCMTK-ITK,stnava/ITK,CapeDrew/DITK,Kitware/ITK,LucasGandel/ITK,richardbeare/ITK,rhgong/itk-with-dom,fbudin69500/ITK,cpatrick/ITK-RemoteIO,blowekamp/ITK,fedral/ITK,paulnovo/ITK,InsightSoftwareConsortium/ITK,hinerm/ITK,jmerkow/ITK,richardbeare/ITK,BRAINSia/ITK,vfonov/ITK,InsightSoftwareConsortium/ITK,fuentesdt/InsightToolkit-dev,biotrump/ITK,zachary-williamson/ITK,paulnovo/ITK,BRAINSia/ITK,Kitware/ITK,CapeDrew/DITK,fbudin69500/ITK,thewtex/ITK,biotrump/ITK,wkjeong/ITK,itkvideo/ITK,malaterre/ITK,LucHermitte/ITK,fuentesdt/InsightToolkit-dev,eile/ITK,msmolens/ITK,rhgong/itk-with-dom,LucHermitte/ITK,GEHC-Surgery/ITK,daviddoria/itkHoughTransform,cpatrick/ITK-RemoteIO,CapeDrew/DCMTK-ITK,hinerm/ITK,fbudin69500/ITK,PlutoniumHeart/ITK,fedral/ITK,CapeDrew/DCMTK-ITK,vfonov/ITK,vfonov/ITK,jcfr/ITK,hinerm/ITK,blowekamp/ITK,wkjeong/ITK,jmerkow/ITK,blowekamp/ITK,daviddoria/itkHoughTransform,biotrump/ITK,BRAINSia/ITK,wkjeong/ITK,CapeDrew/DITK,ajjl/ITK,BRAINSia/ITK,fbudin69500/ITK,LucasGandel/ITK,fbudin69500/ITK,daviddoria/itkHoughTransform,ajjl/ITK,paulnovo/ITK,hendradarwin/ITK,blowekamp/ITK,heimdali/ITK,CapeDrew/DITK,fedral/ITK,fedral/ITK,eile/ITK,biotrump/ITK,Kitware/ITK,fbudin69500/ITK,rhgong/itk-with-dom,malaterre/ITK,zachary-williamson/ITK,malaterre/ITK,LucHermitte/ITK,hinerm/ITK,PlutoniumHeart/ITK,fuentesdt/InsightToolkit-dev,malaterre/ITK,BlueBrain/ITK,BlueBrain/ITK,cpatrick/ITK-RemoteIO,hinerm/ITK,richardbeare/ITK,jcfr/ITK,spinicist/ITK,rhgong/itk-with-dom,vfonov/ITK,LucasGandel/ITK,GEHC-Surgery/ITK,stnava/ITK,PlutoniumHeart/ITK,stnava/ITK,rhgong/itk-with-dom,spinicist/ITK,thewtex/ITK,jcfr/ITK,GEHC-Surgery/ITK,itkvideo/ITK,itkvideo/ITK,ajjl/ITK,biotrump/ITK,fbudin69500/ITK,malaterre/ITK,daviddoria/itkHoughTransform,itkvideo/ITK,stnava/ITK,hendradarwin/ITK,LucasGandel/ITK,msmolens/ITK,hendradarwin/ITK,ajjl/ITK,jmerkow/ITK,heimdali/ITK,cpatrick/ITK-RemoteIO,atsnyder/ITK,atsnyder/ITK,fuentesdt/InsightToolkit-dev,Kitware/ITK,vfonov/ITK,jmerkow/ITK,cpatrick/ITK-RemoteIO,ajjl/ITK,GEHC-Surgery/ITK,atsnyder/ITK,atsnyder/ITK,malaterre/ITK,stnava/ITK,fuentesdt/InsightToolkit-dev,atsnyder/ITK,paulnovo/ITK,ajjl/ITK,ajjl/ITK,eile/ITK,spinicist/ITK,jmerkow/ITK,LucHermitte/ITK,paulnovo/ITK,vfonov/ITK,thewtex/ITK