]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - src/Main.hs
Add the round_array function and use it in main3d.
[spline3.git] / src / Main.hs
index e577351cc257615a47b60ac455cb2376f2527e5c..0afe2f7cc4a27e19f32823b2474f601a00d265f5 100644 (file)
@@ -15,7 +15,6 @@ in_file = "./data/mri.bin"
 main :: IO ()
 main = main3d
 
-
 main3d :: IO ()
 main3d = do
   (s:_) <- getArgs
@@ -27,7 +26,7 @@ main3d = do
   let arrMRI = R.reshape mri_shape arr'
   let dbl_data = R.force $ R.map fromIntegral arrMRI
   let output = zoom dbl_data zoom_factor
-  let word16_output = bracket_array output
+  let word16_output = round_array output
   write_word16s out_file word16_output