Beispiel #1
0
ossimRgbImage::ossimRgbImage(ossimRefPtr<ossimImageData>& currentImageData)
   : ossimReferenced(),
     theImageData(0),
     theOffsets(0),
     theThickness(1),
     theRed(255),
     theGreen(255),
     theBlue(255)
{
   setCurrentImageData(currentImageData);
}
Beispiel #2
0
rspfRgbImage::rspfRgbImage(rspfRefPtr<rspfImageData>& currentImageData)
   : rspfReferenced(),
     theImageData(0),
     theOffsets(0),
     theThickness(1),
     theRed(255),
     theGreen(255),
     theBlue(255)
{
   setCurrentImageData(currentImageData);
}
Beispiel #3
0
void ossimRgbImage::createNewGrey(ossim_int32 width, ossim_int32 height)
{
   theImageData = new ossimImageData(0,
                                     OSSIM_UCHAR,
                                     1,
                                     width,
                                     height);
   theImageData->initialize();

   setCurrentImageData(theImageData);

}
Beispiel #4
0
void rspfRgbImage::createNewGrey(rspf_int32 width, rspf_int32 height)
{
   theImageData = new rspfImageData(0,
                                     RSPF_UCHAR,
                                     1,
                                     width,
                                     height);
   theImageData->initialize();

   setCurrentImageData(theImageData);

}