Skip to content

Strange outcome image #1384

@RockCWRU

Description

@RockCWRU

Hello,

I am a new user trying to get a grasp of Elastix. I have read the manual and was trying to run a very simple registration just to get started. For that reason, I created two very simple images to register (a red triangle and the same triangle slightly rotated) and set up my parameter file mainly based on what I read in the manual:

(Registration "MultiResolutionRegistration")
(Metric "AdvancedMattesMutualInformation")
(ImageSampler "RandomCoordinate")
(NewSamplesEveryIteration "true") //sampler related metric, discussed in 5.3.3 of manual
(Interpolator "LinearInterpolator")
(ResampleInterpolator "FinalBSplineInterpolator")
(Resampler "DefaultResampler")
(FinalBSplineInterpolationOrder 3)
(Transform "EulerTransform")
(AutomaticScalesEstimation "true")
(Optimizer "StandardGradientDescent")
(FixedImagePyramid "FixedSmoothingImagePyramid")
(MovingImagePyramid "MovingSmoothingImagePyramid")

And ran a basic command in command line:

elastix -f t1.tif -m t2.tif -out D:\elastixtest -p parameters.txt

This runs, but the output file .raw and .mhd files are very pixellated, jagged black and white abstract images. I have tried altering my parameters and using different images but am not familiar enough with Elastix to know what I am doing wrong. I would be very grateful for some advice!

Thank you,
Rock

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions