Click here to Skip to main content
11,484,640 members (58,572 online)
Rate this: bad
good
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 7:19am

1 solution

Rate this: bad
good
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: https://github.com/aravindc26/UniView/blob/master/src/com/aravindc/UniView/unipen/UnipenReader.java[^], 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.
  Permalink  

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

  Print Answers RSS
0 Maciej Los 190
1 Sergey Alexandrovich Kryukov 180
2 Raje_ 155
3 OriginalGriff 147
4 Mehdi Gholam 120
0 Sergey Alexandrovich Kryukov 8,484
1 OriginalGriff 7,948
2 Sascha Lefèvre 3,199
3 Maciej Los 2,681
4 Richard Deeming 2,370


Advertise | Privacy | Mobile
Web02 | 2.8.150520.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