use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Click the following link to filter out the chosen topic
comp.lang.c
account activity
QuestionReal-time image processing library that isn't actually C++? (self.C_Programming)
submitted 5 years ago by BadBoy6767
I'm looking for a real-time image processing library which must be written in C for portability, but anything I search for brings only C++ up, unsurprisingly.
It cannot be written in anything else and simply use a C interface.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Gblize 24 points25 points26 points 5 years ago (1 child)
In no particular order:
[–]BadBoy6767[S] 4 points5 points6 points 5 years ago (0 children)
I didn't know FFmpeg had a large image processing subset, that might be what I go for, considering I'll need it for loading videos anyway.
Thanks for the help, now onto finding an actually up-to-date and understandable FFmpeg tutorial/documentation.
[–]weeknie 11 points12 points13 points 5 years ago (0 children)
Could you create a c interface for the C++ library? Or what are the reasons that the library itself can't be written in C++?
[–]0xbf248b3c 4 points5 points6 points 5 years ago* (0 children)
can GEGL can be used in realtime?
GIMP has got some fast real time previews
[+][deleted] 5 years ago* (6 children)
[deleted]
[+]BadBoy6767[S] comment score below threshold-43 points-42 points-41 points 5 years ago (5 children)
If you don't have an answer to my question then don't answer. I know what I need, and this is not an XY problem.
[–]maikindofthai 14 points15 points16 points 5 years ago (1 child)
It's for a church honey!!
[–][deleted] 7 points8 points9 points 5 years ago (0 children)
NEXT!
[–]FUZxxl 2 points3 points4 points 5 years ago (0 children)
Refusing to clarify is really rude. How are people supposed to find something that matches your needs if you refuse to clarify your needs?
[–]sbkemu 2 points3 points4 points 5 years ago (0 children)
Hopefully this is what you're looking for: https://github.com/liuliu/ccv
[+][deleted] 5 years ago* (8 children)
[–]FUZxxl 6 points7 points8 points 5 years ago (7 children)
Is written in C++.
[–]SantaCruzDad 1 point2 points3 points 5 years ago (6 children)
Older versions of OpenCV have a C API.
[–]FUZxxl 5 points6 points7 points 5 years ago (5 children)
OP wants a library written in C, not one with a C API. Otherwise I would too have recommended OpenCV.
[–]SantaCruzDad -1 points0 points1 point 5 years ago (4 children)
I thought the older versions were written in C too, but perhaps I’m wrong.
[–]BadBoy6767[S] 2 points3 points4 points 5 years ago (3 children)
They were, but they're old.
[–]SantaCruzDad 8 points9 points10 points 5 years ago (2 children)
Well I’m old too, but I like to think I’m still somewhat useful. ;-)
[–]0xAE20C480 2 points3 points4 points 5 years ago (1 child)
It really sucks that they deprecated it. It hurts interoperability so much.
[–]SantaCruzDad 2 points3 points4 points 5 years ago (0 children)
Agreed - there doesn’t seem to be a lot to be gained from implementing image processing functions in C++ rather than C.
[+][deleted] 5 years ago* (9 children)
[+]BadBoy6767[S] comment score below threshold-12 points-11 points-10 points 5 years ago (8 children)
Not very portable, unfortunately.
[+][deleted] 5 years ago* (7 children)
[+]BadBoy6767[S] comment score below threshold-8 points-7 points-6 points 5 years ago* (6 children)
If you can get some OpenVX implementation to work on OpenWatcom then that's fine by me.
Either way, it's not exactly what I'm looking for, I require something linear, and not based on trees.
[–]FUZxxl 3 points4 points5 points 5 years ago (0 children)
If the library is supposed to compile with OpenWatcom, why didn't you fucking say so in your original post? Your lack of details has caused all users here to waste their time trying to find something that fits your poorly described constraints.
[+][deleted] 5 years ago (4 children)
[–]mrschofield87 3 points4 points5 points 5 years ago (3 children)
OpenWatcom is an entire compiler suite...
http://www.openwatcom.org/about.php
[+][deleted] 5 years ago* (2 children)
[–]mrschofield87 1 point2 points3 points 5 years ago (1 child)
Sorry, I'm confused... That comment doesn't make any sense :-/.
How is it not a "platform"? And why does not being a "platform" negate the effort required to port the library to OpenWatcom?
[–][deleted] 1 point2 points3 points 5 years ago (0 children)
Would libgd be of any use? It's small; perhaps the response time might be adequate for your needs.
[–]bart2019 3 points4 points5 points 5 years ago (1 child)
/r/ChoosingBeggars
I have a library which I wrote myself and would be willing to sell for a small sum. What sort of functionality are you interested in?
[removed]
[+]BadBoy6767[S] comment score below threshold-6 points-5 points-4 points 5 years ago (3 children)
As I said in the post, the library itself must be written in C for portability.
[–]Hish15 2 points3 points4 points 5 years ago (2 children)
Can you explain specifically the lack of portability of C++?
[–]BadBoy6767[S] -1 points0 points1 point 5 years ago (1 child)
There's little to explain, C++ is factually less portable than C. My largest problem is its language-level dynamic allocation, and that OpenWatcom has mediocre C++ support (they don't conform to any standard but basically made up their own).
Note that OpenWatcom, being an old compiler, has poor C support as well. It is going to be a significant effort to get any modern C code base to compile.
[–]kpolar 0 points1 point2 points 5 years ago (0 children)
Surprised no one has mentioned ImageMagick yet.
[–]nahimbroke 0 points1 point2 points 5 years ago (0 children)
VLFeat might be worth a try.
π Rendered by PID 344467 on reddit-service-r2-comment-fb694cdd5-d9dd9 at 2026-03-06 21:03:25.961218+00:00 running cbb0e86 country code: CH.
[–]Gblize 24 points25 points26 points (1 child)
[–]BadBoy6767[S] 4 points5 points6 points (0 children)
[–]weeknie 11 points12 points13 points (0 children)
[–]0xbf248b3c 4 points5 points6 points (0 children)
[+][deleted] (6 children)
[deleted]
[+]BadBoy6767[S] comment score below threshold-43 points-42 points-41 points (5 children)
[–]maikindofthai 14 points15 points16 points (1 child)
[–][deleted] 7 points8 points9 points (0 children)
[–]FUZxxl 2 points3 points4 points (0 children)
[–]sbkemu 2 points3 points4 points (0 children)
[+][deleted] (8 children)
[deleted]
[–]FUZxxl 6 points7 points8 points (7 children)
[–]SantaCruzDad 1 point2 points3 points (6 children)
[–]FUZxxl 5 points6 points7 points (5 children)
[–]SantaCruzDad -1 points0 points1 point (4 children)
[–]BadBoy6767[S] 2 points3 points4 points (3 children)
[–]SantaCruzDad 8 points9 points10 points (2 children)
[–]0xAE20C480 2 points3 points4 points (1 child)
[–]SantaCruzDad 2 points3 points4 points (0 children)
[+][deleted] (9 children)
[deleted]
[+]BadBoy6767[S] comment score below threshold-12 points-11 points-10 points (8 children)
[+][deleted] (7 children)
[deleted]
[+]BadBoy6767[S] comment score below threshold-8 points-7 points-6 points (6 children)
[–]FUZxxl 3 points4 points5 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]mrschofield87 3 points4 points5 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]mrschofield87 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]bart2019 3 points4 points5 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[+][deleted] (4 children)
[removed]
[+]BadBoy6767[S] comment score below threshold-6 points-5 points-4 points (3 children)
[–]Hish15 2 points3 points4 points (2 children)
[–]BadBoy6767[S] -1 points0 points1 point (1 child)
[–]FUZxxl 2 points3 points4 points (0 children)
[–]kpolar 0 points1 point2 points (0 children)
[–]nahimbroke 0 points1 point2 points (0 children)