5 ms·
By the Power of Grayscale
- ranger_danger 1y agoQuality He-Man reference.
- atum47 1y agoI was working on a image editor on the browser, https://victorribeiro.com/customFilter https://victorribeiro.com/customFilter Right now the neat future it have is the ability of running custom filters of varied window size of images, and use custom formulas to blend several images I don't have a tutorial at hand on how to use it, but I have a YouTube video where I show some of its features https://youtube.com/playlist?list=PL3pnEx5_eGm9rVr1_u1Hm_LK6sx4QrXzK&si=2Di6i6RARk1zczdD https://youtube.com/playlist?list=PL3pnEx5_eGm9rVr1_u1Hm_LK6...
- atum47 1y agoAt some point I would like to add more features as you described in your article; feature detection, image stitching... Here's the source code if anyone's interested https://github.com/victorqribeiro/customFilter https://github.com/victorqribeiro/customFilter
- smusamashah 1y agoI vaguely remember XnView having this matrix based custom filters.
- nakamoto_damacy 1y agoFrom a 70s kid to an 80s kid, well done!
- dcminter 1y agoI too applaud this terrible (amazing) pun.
- Xenoamorphous 1y agoDitto. I’ve upvoted this based solely on the amazing title. Best toyline ever.
- teiferer 1y agoAppreciate the old school non-AI approach.
- amelius 1y agoBut have a look at the "Thresholding" section. It appears to me that AI would be much better at this operation.
- do_not_redeem 1y agosure, if you don't mind it hallucinating different numbers into your image
- Legend2440 1y agoRight, but the non-deep learning OCR methods also do that. And they have a much much lower overall accuracy. There’s a reason deep learning took over computer vision.
- do_not_redeem 1y agoGP is talking about thresholding and thresholding is used in more than just OCR. Thresholding algorithms do not hallucinate numbers.
- vincenthwt 1y agoYou're absolutely right, deep learning OCR often delivers better results for complex tasks like handwriting or noisy text. It uses advanced models like CNNs or CRNNs to learn patterns from large datasets, making it highly versatile in challenging scenarios. However, if I can’t understand the system, how can I debug it if there are any issues? Part of an engineer's job is to understand the system they’re working with, and deep learning models often act as a "black box," which makes this difficult. Debugging issues in these systems can be a major challenge. It often requires specialized tools like saliency maps or attention visualizations, analyzing training data for problems, and sometimes retraining the entire model. This process is not only time-consuming but also may not guarantee clear answers.
- kazinator 1y agoReferencing "By the power of Grayskull!"
- grep_it 1y agoReally enjoyed this article, thanks for sharing! I had recently learned about using image pyramids[1] in conjunction with template matching algorithms like SAD to do simple and efficient object recognition, it was quite fun. 1: https://en.wikipedia.org/wiki/Pyramid_%28image_processing%29 https://en.wikipedia.org/wiki/Pyramid_%28image_processing%29
- aDyslecticCrow 1y agoImage pyramids are a brilliant method. The technique is hiding in many of the FCNN image segmentation models ive read. A truly clever image processing method.
- ggm 1y agoDidn't recognize George Smiley in those photos. Which makes sense, given he's an espiocrat.
- rmonvfer 1y agoI’m not a “C” person but I’ve really enjoyed reading this, it’s quite approachable and well written. Thank you for writing it.
- ryukoposting 1y agoIt may come as a surprise to some that a lot of industrial computer vision is done in grayscale. In a lot of industrial CV tasks, the only things that matter are cost, speed, and dynamic range. Every approach we have to making color images compromises on one of those three characteristics. I think this kind of thing might have real, practical use cases in industry if it's fast enough.
- vincenthwt 1y agoAh, I think you work in the same industry as me, machine vision. I completely agree with you, most applications use grayscale images unless it’s color-based application. Which vision library are you using? I’m using Halcon by MVTec.
- ryukoposting 1y agoI used to work in industrial automation, I was mostly making the process control equipment that your stuff would plug into. PLCs and whatnot. We had a close relationship with Cognex, I don't remember the exact details of their software stack.
- gridspy 1y agoAlso resolution & uniformity Color makes major compromises physically also, since it seems like the Red, Green and Blue channels are sampling from the same physical location but the actual sensor buckets are offset from each other.
- deleted 1y ago[deleted]
- shoo 1y agoIf you enjoyed this post you may also like the 2024 book foundations of computer vision: https://visionbook.mit.edu/ https://visionbook.mit.edu/ prior hn thread: https://news.ycombinator.com/item?id=44281506 https://news.ycombinator.com/item?id=44281506 i don't have any background in computer vision but enjoyed how the introductory chapter gets right into it illustrating how to build a limited but working simple vision system
- yunnpp 1y agoThanks for the reference. Looks very from-the-ground-up and comprehensive.
- hu3 1y agoFor those who don't know, the author is a very prolific dev: https://github.com/zserge?tab=repositories&q=&type=&language=&sort=stargazers https://github.com/zserge?tab=repositories&q=&type=&language...
- sethammons 1y agoThis was a fantastic post. I've never really thought much about image processing, and this was a great introduction.
- swiftcoder 1y agoThis is really solid intro to computer vision, bravo!
- Cthulhu_ 1y agoAbout 15, 20 years ago I was still in uni and we had a computer vision lab, the main guy there had been working on that subject for years and dealt with businesses where his stuff was used for quality control. Without fail, step one of computer vision was to bring the image down to grayscale and / or filter for specific colours so you ended up with a 1 bit representation. My "algorithm" for a robot that was to follow a line drawn on the floor boiled down to "filter out the colour green, then look at the bottom rows of the image and find the black pixels. If they're to the left, adjust to the left, if to the right adjust to the right". Roughly. I'm sure it could be done a lot more cleverly but I was pretty proud of it AND the whole tool suite was custom made, from editing environment to programming language. Expensive cameras and robot, too.
- jsmailes 1y agoThe blob-finding algorithm makes me think of the "advent of code" problems - I wouldn't have thought to do a two-pass approach, but now that I see it set out in front of me it's obviously a great idea. Seems like this technique could quite easily be generalised to work with a range of problems.
- nusl 1y agoThis title is excellent.
- cestith 1y agorelated: https://news.ycombinator.com/item?id=45816673 https://news.ycombinator.com/item?id=45816673
- wutangson1 1y agoSo, who is He-Man, and who is Skelator?