MARE's Computer Vision Study.
MareArts blog / Computer Vision & Artificial Intelligent Systems
Gray image histogram without opencv function calHist
As you known, there is function for making histogram in Opencv, that is calcHist function.
But at this time, let's try get histogram without use calcHist.
Input image, we are going to convert from rgb to gray.
And this is result of histogram
So.. see the source code. I will be not difficult. ^^
December 28, 2017
Share to Twitter
Share to Facebook
Share to Pinterest
Post a Comment
Post Comments (Atom)
3D array numpy -> pandas ->csv -> pandas -> 3d array numpy
This article is example source code for 3D array numpy -> pandas -> csv -> pandas -> 3D array numpy Let's see step by ste...
(OpenCV Study) Background subtractor MOG, MOG2, GMG example source code (BackgroundSubtractorMOG, BackgroundSubtractorMOG2, BackgroundSubtractorGMG)
Background subtractor example souce code. OpenCV support about 3 types subtraction algorithm. Those are MOG, MOG2, GMG algorithms. Det...
OpenCV Stitching example (Stitcher class, Panorama)
Image size of origin is 320*240. Processing time is 30.96 second took. The result of stitching The resul...
Real-time N camera stitching Class.
As you can see in the following video, I created a class that stitching n cameras in real time. https://www.youtube.com/user/feelmare/sear...
(OpenCV Study) Background subtraction and Draw blob to red rectangle (example source code)
I use MOG2 algorithm to background subtraction. The process is resize to small for more fast processing to blur for avoid noise affectio...
OpenCV Background subtraction 3.2 version example (for MOG, MOG2, GMG, KNN)
This is example for background subtraction on opencv 3.2 version previously, I post 2.7 version example on here. http://study.marearts.co...
8 point algorithm (Matlab source code) / The method to get the Fundamental Matrix and the Essential matrix
Created Date : 2011.8 Language : Matlab Tool : Matlab 2010 Library & Utilized : - Reference : Multiple View Geometry (Hartly and Z...
yuv422(YUYV) to RGB and RGB to yuv422(YUYV), (Using OpenCV and TBB)
In past, I wrote an articel about YUV 444, 422, 411 introduction and yuv <-> rgb converting example code. refer to this page -> ht...
OpenCV Drawing Example, (line, circle, rectangle, ellipse, polyline, fillConvexPoly, putText, drawContours)
line, circle, rectangle, ellipse, polyline, fillConvexPoly, putText, drawContours example source code!!. ... //http://study....
Example source code of extract HOG feature from images, save descriptor values to xml file, using opencv (using HOGDescriptor )
This example source code is to extract HOG feature from images. And save descriptors to XML file. The source code explain how to use HOGD...