Commit 6aa04ba2e85da93b640126758ec21e50b9c890ef
1 parent
92e4cf05
interleave types
Showing
2 changed files
with
8 additions
and
2 deletions
Show diff stats
envi/bil.h
1 | +#ifndef STIM_BIL_H | ||
2 | +#define STIM_BIL_H | ||
3 | + | ||
1 | #include "../envi/envi.h" | 4 | #include "../envi/envi.h" |
2 | #include "../envi/binary.h" | 5 | #include "../envi/binary.h" |
3 | #include <cstring> | 6 | #include <cstring> |
@@ -401,3 +404,5 @@ public: | @@ -401,3 +404,5 @@ public: | ||
401 | 404 | ||
402 | }; | 405 | }; |
403 | } | 406 | } |
407 | + | ||
408 | +#endif |
envi/bip.h
1 | #include "../envi/envi.h" | 1 | #include "../envi/envi.h" |
2 | +#include "../envi/bil.h" | ||
2 | #include "../envi/binary.h" | 3 | #include "../envi/binary.h" |
3 | #include <cstring> | 4 | #include <cstring> |
4 | #include <utility> | 5 | #include <utility> |
@@ -462,7 +463,7 @@ public: | @@ -462,7 +463,7 @@ public: | ||
462 | target.write(reinterpret_cast<const char*>(q), S); //write a band data into target file | 463 | target.write(reinterpret_cast<const char*>(q), S); //write a band data into target file |
463 | } | 464 | } |
464 | 465 | ||
465 | - header.interleave = rts::envi::interleaveType::BIL; //change the type of file in header file | 466 | + header.interleave = rts::envi::BIL; //change the type of file in header file |
466 | header.save(headername); | 467 | header.save(headername); |
467 | 468 | ||
468 | free(p); | 469 | free(p); |
@@ -478,4 +479,4 @@ public: | @@ -478,4 +479,4 @@ public: | ||
478 | } | 479 | } |
479 | 480 | ||
480 | }; | 481 | }; |
481 | -} | ||
482 | \ No newline at end of file | 482 | \ No newline at end of file |
483 | +} |