Elaboradar 0.1
|
◆ print_ppi_class()
print PPI of EchoClass Definizione alla linea 606 del file classifier.cpp. 607{
608 gdal_init_once();
609 if(elev>=0)
610 {
611 ostringstream filename;
612 filename<<"class_"<<elev<<".png";
613 Matrix2D<unsigned short> img;
615 img*=6553;
616 write_image(img, filename.str(), "PNG");
617 }
618 else
619 {
621 {
622 ostringstream filename;
623 filename<<"class_"<<el<<".png";
624 Matrix2D<unsigned short> img;
626 img*=6553;
627 write_image(img, filename.str(), "PNG");
628 }
629 }
630}
void gdal_init_once() Initialize the GDAL library when called for the first time; does nothing all other times. Definition: image.cpp:12 Base for all matrices we use, since we rely on row-major data. Definition: matrix.h:37 Referenzia radarelab::gdal_init_once(), e vol_hca. |