Elaboradar 0.1
Caricamento in corso...
Ricerca in corso...
Nessun risultato

◆ print_ppi_class()

void classifier::print_ppi_class ( int  elev = -1)

print PPI of EchoClass

Definizione alla linea 606 del file classifier.cpp.

607{
609 if(elev>=0)
610 {
611 ostringstream filename;
612 filename<<"class_"<<elev<<".png";
614 img=vol_hca[elev].cast<unsigned short>();
615 img*=6553;
616 write_image(img, filename.str(), "PNG");
617 }
618 else
619 {
620 for(unsigned el=0;el<vol_hca.size();el++)
621 {
622 ostringstream filename;
623 filename<<"class_"<<el<<".png";
625 img=vol_hca[el].cast<unsigned short>();
626 img*=6553;
627 write_image(img, filename.str(), "PNG");
628 }
629 }
630}
Volume< EchoClass > vol_hca
Definition: classifier.h:356
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.