Click here to Skip to main content
12,072,540 members (65,323 online)
Rate this:
 
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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web04 | 2.8.160208.1 | Last Updated 31 May 2013
Copyright © CodeProject, 1999-2016
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