| 1 | == Generating Masks == |
| 2 | |
| 3 | All scripts can currently only run on 32bit machines |
| 4 | |
| 5 | * Mask each band of a raw Specim file separately |
| 6 | * Run seperate_band_mask.py -d <directory>|-f <filename> -s <save_path> -l|-o |
| 7 | -d specify directory from which to read raw files (or specify directory using "-f <filename>")[[BR]] |
| 8 | -f specify single raw file to read (or specify directory using "-d <directory>")[[BR]] |
| 9 | -s specify path to save masks (required)[[BR]] |
| 10 | -o specify overflow mask (or specify low signal mask using -l)[[BR]] |
| 11 | -l specify low signal mask (or specify overflow mask using -o)[[BR]] |
| 12 | |
| 13 | Creates a bil with the same number of bands as the raw file. Masked pixels are marked as 1, everywhere else is 0. |
| 14 | |
| 15 | * Combine masks of each band of a raw Specim file into a single layer |
| 16 | * Run combined_band_mask.py -d <directory>|-f <filename> -s <save_path> -l|-o |
| 17 | Options the same as 1st script |
| 18 | |
| 19 | Saves as a png |
| 20 | |
| 21 | * Combine masks of each band of a raw Specim file into a a single layer overlayed onto an RGB image |
| 22 | * Run overlay_combined_band_mask.py -d <directory>|-f <filename> -s <save_path> -l|-o |
| 23 | Options the same as 1st script |
| 24 | |
| 25 | Saves as a png |