News for hackers. Stuff that matters.
Re:Modern Image Processing Algorithms Implementation in C by Solvency on Tuesday June 06, 2023 @02:03PM (#36216726)
Is there anything substantially different here from the way any modern post-processing shader works right now? For example: https://threejs.org/examples/webgl_postprocessing_rgb_halfto...
Re:Modern Image Processing Algorithms Implementation in C by dima55 on Tuesday June 06, 2023 @05:38PM (#36219419)
Don't know about the algorithms, but this is a C library: for computers. threejs is a javascript library: for browsers
Re:Modern Image Processing Algorithms Implementation in C by cwoolfe on Tuesday June 06, 2023 @02:10PM (#36216832)
Visit the url below for much of the same content but without ads. https://sod.pixlab.io/
Re:Modern Image Processing Algorithms Implementation in C by Iwan-Zotow on Tuesday June 06, 2023 @02:14PM (#36216905)
better than OpenCV ?
Re:Modern Image Processing Algorithms Implementation in C by realPtolemy on Tuesday June 06, 2023 @02:41PM (#36217244)
Curious to know as well
Re:Modern Image Processing Algorithms Implementation in C by slicktux on Tuesday June 06, 2023 @03:03PM (#36217549)
Better in what sense?
Re:Modern Image Processing Algorithms Implementation in C by Iwan-Zotow on Tuesday June 06, 2023 @08:00PM (#36220846)
I mean OpenCV is C library, lots of well tested algorithms, Python binding, lots of users, docs, examples, you name it

To be considered as potential use, it should either do something which OpenCV is not doing, or do things (a lot) better.

I mean, I used OpenCV, shall I move to that lib? OpenCV is pretty much standard C imaging library, anyone working with images knowns about OpenCV

Re:Modern Image Processing Algorithms Implementation in C by kilpikaarna on Tuesday June 06, 2023 @10:24PM (#36222071)
OpenCV is C++ (though there are 3rd party C bindings)
Re:Modern Image Processing Algorithms Implementation in C by cozzyd on Tuesday June 06, 2023 @03:19PM (#36217777)
easier to integrate into C-based stuff, probably...though unfortunately doesn't seem to make it easy to work without dynamic allocation, which makes it not as useful as it could be...
Re:Modern Image Processing Algorithms Implementation in C by spookie on Tuesday June 06, 2023 @07:15PM (#36220420)
The focus seems to make a smaller (not better) OpenCV
Re:Modern Image Processing Algorithms Implementation in C by HumblyTossed on Tuesday June 06, 2023 @02:36PM (#36217205)
Anything like this but for photo imaging manipulation?
Re:Modern Image Processing Algorithms Implementation in C by realPtolemy on Tuesday June 06, 2023 @02:44PM (#36217278)
Thanks for sharing!
Re:Modern Image Processing Algorithms Implementation in C by ladberg on Tuesday June 06, 2023 @03:41PM (#36218076)
Since it seems like the poster works for the company: the ads on this article are all semi-nsfw for me, more-so than the average GAd I see (is that something you can tune?). I reported them to Google but that might be a black hole.

Additionally, why in the world does a technical blog for a for-profit company need ads?

Re:Modern Image Processing Algorithms Implementation in C by nico on Tuesday June 06, 2023 @05:55PM (#36219587)
Same here

I got three images, two of pretty college women, and a third one that I can’t tell exactly what it is, but it’s skin color and my first impression was very NSFW

Re:Modern Image Processing Algorithms Implementation in C by symisc_devel on Tuesday June 06, 2023 @05:57PM (#36219607)
Hello,

It's a blog post by one of our engineers. Authors are free to monetize their content without inference from the company.

Re:Modern Image Processing Algorithms Implementation in C by chris37879 on Tuesday June 06, 2023 @07:14PM (#36220413)
That sounds like a smart way to get your engineers to take the time for writing! I do assume you all do at least a basic suitability and security review, though?
Re:Modern Image Processing Algorithms Implementation in C by symisc_devel on Tuesday June 06, 2023 @07:33PM (#36220593)
Of course. Only Adsense is authorized. After a short investigation, it appears that the main reason these NSFW-limit ads are shown is because the article includes direct link to the PixLab NSFW API Endpoint (https://pixlab.io/cmd?id=nsfw) which is basically a bridge to our ML model that let you detect whether an image or video frame contains adult, bloody or gore content.
Re:Modern Image Processing Algorithms Implementation in C by chris37879 on Tuesday June 06, 2023 @07:38PM (#36220629)
Sorry if that came across like I was questioning that part of your process, I was more curious in the actual process, but it is neat that you guys already managed to figure that out!
Re:Modern Image Processing Algorithms Implementation in C by GMoromisato on Tuesday June 06, 2023 @06:46PM (#36220144)
I got ads for LEGOs because I have kids and have recently searched for LEGOs [this is less of a humblebrag and more of a sigh at how old and boring I've gotten.]

I'm curious if the degree of ad personalization varies by site (do some sites show more personalized ads?). Or maybe the average demographic of a site's viewers is somehow factored in?

Re:Modern Image Processing Algorithms Implementation in C by drtgh on Tuesday June 06, 2023 @08:05PM (#36220890)
The site uses in the code the javascript for Google Ads and GoogleAnalytics, so probably you searched for LEGOs in Google search. Or was in other search engine using Google Chrome?

The Google Ads algorithm is not exactly known, there are guessings, but the so called "auction" that made you to see it probably is not page content related.

Re:Modern Image Processing Algorithms Implementation in C by emmelaich on Tuesday June 06, 2023 @09:45PM (#36221740)
Getting shitty ads is a by-product of privacy consciousness.

When I stopped clearing my cookies periodically, the ad quality went WAY up.

Also, I'm guessing that image processing is moderately related to porn.

Re:Modern Image Processing Algorithms Implementation in C by elcritch on Tuesday June 06, 2023 @05:51PM (#36219551)
Note this is GPL which will make it a harder sell vs OpenCV in many cases. I'd guess they're looking to use the non-GPL for $$ model.

Nevertheless, it looks interesting. It looks really nice for embedded where you don't always have the GPU for compute.

Re:Modern Image Processing Algorithms Implementation in C by remipch on Tuesday June 06, 2023 @06:01PM (#36219648)
It looks promising.

I like the way each algorithm is explained with minimal example and demo images.

I'm looking for such a lightweight vision lib to embed simple image manipulation programs on tiny ESP32-CAM boards.

OpenCV seems too heavy to integrate on such small devices.

So far, I've been able to develop simple image processing programs with CImg[1] (simple filtering, image cropping, adding text).

I'll try to spend some time exploring this SOD lib, thank you for sharing.

[1] https://cimg.eu/

Re:Modern Image Processing Algorithms Implementation in C by vitorsr on Tuesday June 06, 2023 @08:49PM (#36221272)
How does it compare to dlib [1], ccv [2] etc.?

[1] https://github.com/davisking/dlib

[2] https://github.com/liuliu/ccv

Re:Modern Image Processing Algorithms Implementation in C by liuliu on Tuesday June 06, 2023 @10:35PM (#36222156)
I like dlib better if you want a swiss army knife of algos.

ccv is moved on to be all-in on neural-network based computer vision and all development effort happened in that area. (Similar can be said for dlib but at least the author still implement random black-box optimizers from time-to-time).

SOD seems try to reimplement some of OpenCV but TBH, these are not "modern" at all. These are 15 year-old algos while works, the useful domain is shrinking and people who interested in these also might be looking for hardware-accelerated options (AVX-512 / CUDA etc). Some very specific classic heavy CV applications (such as SLAM) are quickly moving to their own dedicated libs (such as Cartographer from Google or ORB-SLAM).