Click here to Skip to main content
11,799,282 members (77,556 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ file OpenCV
hi, i have set of .dat files. those are some images of characters from UNIPEN character database. i want to convert them into iplimage for further processing. i use cvLoadImage function for that but, it doesnt recognize particular .dat file as an image. can someone suggest me a methode for that ? thank you
Posted 31-May-13 6:19am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I doubt UNIPEN image format[^] is a regular raster image OpenCV can open. As I understood, it contains a set of points and some metadata. Here is a Java code to read it:[^], and here is one in c#: UPV – UNIPEN online handwriting recognition database viewer control[^] (with rendering tool too), but I am pretty sure you can find also a c++ reader somewhere. But you still need to render it's content to have it as image.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 473
1 CPallini 410
2 Richard MacCutchan 319
3 phil.o 244
4 Kornfeld Eliyahu Peter 205
0 OriginalGriff 2,475
1 Maciej Los 1,860
2 KrunalRohit 1,496
3 CPallini 1,465
4 Richard MacCutchan 1,149

Advertise | Privacy | Mobile
Web02 | 2.8.151002.1 | Last Updated 31 May 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100