The application is closed after 15 sec while converting the image to grayscale,I don't know why?
In mouAppView.h
{
mouAppView
}
void mouAppView::SetCameraFrame(CFbsBitmap& aBitmap)
{
CFbsBitmap* firstframe=Convert16MUto16ML(aBitmap);//convert to 16ml so i can use it in nokia cv
TSize mouzz=firstframe->SizeInPixels();
CleanupStack::PushL(iCurrentFrame);
iCurrentFrame->CreateL(*firstframe); //create cnokiaCvImage
CleanupStack::Pop( iCurrentFrame);
if(firstframe)
{
firstframe=NULL;
delete firstframe;
}
}
mou::~mou()
{
if(iCurrentFrame)
{
delete iCurrentFrame;
iCurrentFrame = NULL;
}
if(iCurrentGrayImage)
{
delete iCurrentGrayImage;
iCurrentGrayImage=NULL;
}
}



