Definition at line 247 of file SegmentationDocumentGuiAnno.h. References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CPB(), Impala::Core::Stream::RgbDataSrc::DataPtr(), Impala::Core::Stream::RgbDataSrc::FrameHeight(), Impala::Core::Stream::RgbDataSrc::FrameWidth(), Impala::Core::Stream::RgbDataSrc::GotoFrame(), and mRgbDataSrc. Referenced by ToShotWindow(). 00248 { 00249 if (!mRgbDataSrc) 00250 return 0; 00251 00252 int imW = mRgbDataSrc->FrameWidth(); 00253 int imH = mRgbDataSrc->FrameHeight(); 00254 Array2dVec3UInt8* ar = 00255 new Array2dVec3UInt8(imW, imH, 0, 0, 0, false); 00256 mRgbDataSrc->GotoFrame(frameNr); 00257 memcpy( (void *) ar->CPB(0, 0), mRgbDataSrc->DataPtr(), imW*imH*3 ); 00258 return ar; 00259 }
Here is the call graph for this function:
|