//.cf file Format // Lines that begin with "//" are comment lines. // Commands are enclosed by "Begin/End" clauses. // The commands use reserved keywords, such as "crop", "format", "orientation". // Crop Slices in Axial Projection Command Syntax // crop startslicenumber endslicenumber // Change Format Command Syntax // format byte(word, float) // Change Slice Orientation Command Syntax // orientation axial(sagittal, coronal) // Rotate Image Command Syntax // rotate x degree y degree z degree trilinear(neighbor) // Shift Image Command Syntax // shift point(mm) x shift y shift z shift // Resample Image Command Syntax // resample imagewidth imageheight numberofslices fovwidth fovheight slicethickness trilinear(neighbor) // example // Begin // crop 20 180 // format byte // orientation axial // rotate x 45 y 0 z 10 neighbor // shift point x 10 y 0 z 5 // resample 181 217 181 181 217 1 trilinear // End