-red_dbl_data :: (Shape sh) => (ColorData sh) -> Array sh Double
-red_dbl_data =
- R.map (get_r . rgb_to_dbl)
- where
- get_r :: (Double, Double, Double) -> Double
- get_r (r, _, _) = r
-
-green_dbl_data :: (Shape sh) => (ColorData sh) -> Array sh Double
-green_dbl_data =
- R.map (get_g . rgb_to_dbl)
- where
- get_g :: (Double, Double, Double) -> Double
- get_g (_, g, _) = g
-
-
-blue_dbl_data :: (Shape sh) => (ColorData sh) -> Array sh Double
-blue_dbl_data =
- R.map (get_b . rgb_to_dbl)
- where
- get_b :: (Double, Double, Double) -> Double
- get_b (_, _, b) = b
-
-
-
-z_slice :: Elt a => Int -> Array DIM3 a -> Array DIM2 a