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