You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/Example_get_apr.cpp
+67-3Lines changed: 67 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ Advanced (Direct) Settings:
25
25
-mask_file mask_file_tiff (takes an input image uint16_t, assumes all zero regions should be ignored by the APR, useful for pre-processing of isolating desired content, or using another channel as a mask)
26
26
-rel_error rel_error_value (Reasonable ranges are from .08-.15), Default: 0.1
27
27
-normalize_input (flag that will rescale the input from the input data range to 80% of the output data type range, useful for float scaled datasets)
28
+
-store_delta (stores the delta between an APR reconstruction and the original image as an additional hdf5 file)
29
+
-compress_level (the IO uses BLOSC for lossless compression of the APR, this can be set from 1-9, where higher increases the compression level. Note, this can come at a significant time increase.)
28
30
)";
29
31
30
32
#include<algorithm>
@@ -70,6 +72,8 @@ int main(int argc, char **argv) {
70
72
//Gets the APR
71
73
if(apr_converter.get_apr(apr)){
72
74
75
+
//Below is IO and outputting of the Implied Resolution Function through the Particle Cell level.
76
+
73
77
//output
74
78
std::string save_loc = options.output_dir;
75
79
std::string file_name = options.output;
@@ -91,21 +95,71 @@ int main(int argc, char **argv) {
0 commit comments