In the DumpPGM case, the file should have a .pgm extension, so a display
program can guess the filetype easily.Ray.
On Mon, Oct 27, 2008 at 2:28 AM, Zack <[EMAIL PROTECTED]> wrote:
>
> hmm all i have to do is to pass in the filename string and the
> function will save the picture in the filename i define.. do i have to
> define the file extension, etc. bmp, jpg?
>
> On Oct 25, 1:16 am, "Ray Smith" <[EMAIL PROTECTED]> wrote:
> > void TessBaseAPI::DumpPGM(const char* filename)after recognition will
> dump
> > the image to a PGM file, which can be viewed by many image display apps.
> > Ray.
> >
> > On Fri, Oct 24, 2008 at 3:57 AM, pankaj agarwal <[EMAIL PROTECTED]
> >wrote:
> >
> > > You can print it by
> >
> > > cvNamedWindow("original",CV_WINDOW_AUTOSIZE);
> > > cvShowImage("original",image_variable);
> > > cvWaitKey();
> >
> > > using OpenCV
> > > here image variable is IplImage *.
> >
> > > Pankaj
> >
> > > On Thu, Oct 23, 2008 at 6:55 PM, Zack <[EMAIL PROTECTED]> wrote:
> >
> > >> Hello, I would to ask if anybody know how i can view the image after
> > >> otsu threshold. I know the image is stored in the imagedata variable.
> > >> but i not sure how i can code to saved the variable into .bmp or any
> > >> type of image file. I'm using C++ in MS VS 2005. Any help is greatly
> > >> appreciated =)
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en
-~----------~----~----~----~------~----~------~--~---