File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ impl tui::widgets::Widget for SliceWidget<'_> {
170170 let val_upper = img_sized. get_pixel ( x, y+1 ) [ 0 ] as usize ;
171171 let val_lower = img_sized. get_pixel ( x, y) [ 0 ] as usize ;
172172
173- let gradient = colorous:: VIRIDIS ;
173+ let gradient = colorous:: INFERNO ;
174174 let col_upper = gradient. eval_rational ( val_upper, u16:: MAX as usize + 1 ) ;
175175 let col_lower = gradient. eval_rational ( val_lower, u16:: MAX as usize + 1 ) ;
176176
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ use std::io;
77use tui:: backend:: CrosstermBackend ;
88use tui:: Terminal ;
99
10- /// Simple program to greet a person
10+ /// headjack - Terminal UI 3D volume brain imaging viewer
1111#[ derive( Parser , Debug ) ]
1212#[ command( author, version, about, long_about = None ) ]
1313struct Args {
14- /// Name of the person to greet
14+ /// Image file name (.nii or .nii.gz)
1515 #[ arg( index = 1 ) ]
1616 input : String ,
1717}
You can’t perform that action at this time.
0 commit comments