c++ Programming Glossary: filter
OpenCV C++/Obj-C: Advanced square detection http://stackoverflow.com/questions/10533233/opencv-c-obj-c-advanced-square-detection Once you've located candidate corners you can also filter these candidates by area or how square like the polygon is...
How to create a DLL with SWIG from Visual Studio 2010 http://stackoverflow.com/questions/11693047/how-to-create-a-dll-with-swig-from-visual-studio-2010 VS2010 trying to check in the generated files in this filter . Right click Generated Files Add Exiting Item and select the..
Why is my program slow when looping over exactly 8192 elements? http://stackoverflow.com/questions/12264970/why-is-my-program-slow-when-looping-over-exactly-8192-elements SIZE SIZE input image float res SIZE SIZE result of mean filter int i j k l for i 0 i SIZE i for j 0 j SIZE j img j i 2 j i..
How do I gaussian blur an image without using any in-built gaussian functions? http://stackoverflow.com/questions/1696113/how-do-i-gaussian-blur-an-image-without-using-any-in-built-gaussian-functions is done in exactly the same way as any other convolution filter. The only difference between a box and a gaussian filter is.. filter. The only difference between a box and a gaussian filter is the matrix you use. Imagine you have an image defined as.. 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 A 3x3 box filter matrix is defined as follows 0.111 0.111 0.111 0.111 0.111 0.111..
How to filter items from a std::map? http://stackoverflow.com/questions/180516/how-to-filter-items-from-a-stdmap to filter items from a std map I have roughly the following code. Could..
How might I wrap the FindXFile-style APIs to the STL-style Iterator Pattern in C++? http://stackoverflow.com/questions/2531874/how-might-i-wrap-the-findxfile-style-apis-to-the-stl-style-iterator-pattern-in-c boost shared_ptr Recurse_T impl Filter_T filter void increment do impl increment while impl Valid filter impl.. filter void increment do impl increment while impl Valid filter impl dereference bool equal const DirectoryIterator other const.. Filter_T functor Filter_T impl boost make_shared Recurse_T filter functor explicit DirectoryIterator const std wstring pathSpec..
OpenCV: process every frame http://stackoverflow.com/questions/3907028/opencv-process-every-frame when you defining and putting into the graph your own filter for such purposes . So the question is how can i do this c..
C++, __try and try/catch/finally http://stackoverflow.com/questions/7049502/c-try-and-try-catch-finally keyword. It has more capabilities you specify an exception filter expression that determines whether or not an active exception.. Example public ~Example std cout destructed std endl int filterException int code PEXCEPTION_POINTERS ex std cout Filtering.. e throw 42 int main __try testProcessorFault __except filterException GetExceptionCode GetExceptionInformation std cout caught..
Building multiple executables with similar rules http://stackoverflow.com/questions/7123431/building-multiple-executables-with-similar-rules dir 1 .cpp # link exes call objects Makefile g o @ filter out Makefile ^ LDFLAGS LDLIBS # compile .o and generate dependencies..
Square detection doesn't find squares http://stackoverflow.com/questions/7731742/square-detection-doesnt-find-squares medianBlur out out 7 down scale and upscale the image to filter out the noise pyrDown out pyr Size out.cols 2 out.rows 2 pyrUp.. 4 vertices after approximation relatively large area to filter out noisy contours and be convex. Note absolute value of an..
OpenCV C++/Obj-C: Detecting a sheet of paper / Square Detection http://stackoverflow.com/questions/8667818/opencv-c-obj-c-detecting-a-sheet-of-paper-square-detection detection example in my test application but now need to filter the output because it's quiet messy or is my code wrong I'm..
Algorithm improvement for Coca-Cola can shape recognition http://stackoverflow.com/questions/10168686/algorithm-improvement-for-coca-cola-can-shape-recognition by this value to reduce noise. Using Canny Edge Detection Filter to get the contours of all items after 2 precedent steps. Algorithm..
how to detect region of large # of white pixels using opencv? http://stackoverflow.com/questions/10262600/how-to-detect-region-of-large-of-white-pixels-using-opencv np.uint8 Now find contours in the threshold image. Filter the contour for area between 500 to 5000. It will be most probably..
Using a DirectShow filter without registering it, via a private CoCreateInstance http://stackoverflow.com/questions/11191996/using-a-directshow-filter-without-registering-it-via-a-private-cocreateinstance I read this http www.gdcl.co.uk 2011 June UnregisteredFilters.htm . Which tells you how to use filters without registering.. hr CreateObjectFromPath TEXT c path to myfilter.dll IID_MyFilter pUnk if SUCCEEDED hr IBaseFilterPtr pFilter pUnk pGraph AddFilter.. to myfilter.dll IID_MyFilter pUnk if SUCCEEDED hr IBaseFilterPtr pFilter pUnk pGraph AddFilter pFilter L Private Filter pGraph..
DirectShow code crashes after exit (PushSourceDesktop sample) http://stackoverflow.com/questions/11249298/directshow-code-crashes-after-exit-pushsourcedesktop-sample code int main HRESULT hr hr CoInitialize NULL CComPtr IBaseFilter pMux CComPtr IMediaControl pMC CComPtr IBaseFilter pFilterr.. IBaseFilter pMux CComPtr IMediaControl pMC CComPtr IBaseFilter pFilterr CComPtr IGraphBuilder pGraph CComPtr ICaptureGraphBuilder2.. pMux CComPtr IMediaControl pMC CComPtr IBaseFilter pFilterr CComPtr IGraphBuilder pGraph CComPtr ICaptureGraphBuilder2..
Best DirectShow way to capture image from web cam preview ? SampleGrabber is deprecated http://stackoverflow.com/questions/11398758/best-directshow-way-to-capture-image-from-web-cam-preview-samplegrabber-is-dep And there are other samples on how to use Sample Grabber Filter in C . Sample Grabber is deprecated the headers are removed.. Also in C you certainly don't have to use Sample Grabber Filter. You can develop a custom filter using DirectShow BaseClasses..
How to create a DLL with SWIG from Visual Studio 2010 http://stackoverflow.com/questions/11693047/how-to-create-a-dll-with-swig-from-visual-studio-2010 file and select Compile. Right click the project Add New Filter name it Generated Files . Right click Generated Files click..
Filter the synthesized attribute through a std::map in a boost spirit semantic action http://stackoverflow.com/questions/14205154/filter-the-synthesized-attribute-through-a-stdmap-in-a-boost-spirit-semantic-a the synthesized attribute through a std map in a boost spirit..
Virtual Webcam Driver http://stackoverflow.com/questions/1627448/virtual-webcam-driver http tmhare.mvps.org downloads.htm find Capture Source Filter It worked well when I compiled it in Yahoo MSN but it crashed.. CSourceStream QueryInterface riid ppv It's in 17th line of Filters.cpp Why do you think I'm getting crash Thank you all for guiding.. s_VideoPinType Pin details const AMOVIESETUP_FILTER s_Filter CLSID_MyFilter Filter CLSID L bla String name MERIT_DO_NOT_USE..
How can I intercept all key events, including ctrl+alt+del and ctrl+tab? http://stackoverflow.com/questions/886076/how-can-i-intercept-all-key-events-including-ctrlaltdel-and-ctrltab post and this post claim success by writing a Keyboard Filter Driver which is a kind of kernel mode not Win32 device driver..
Displacement Map Filter in OpenCV http://stackoverflow.com/questions/9260717/displacement-map-filter-in-opencv Map Filter in OpenCV I'm curious to know how one can implement the effect.. based on the documentation of Adobe Flash' DisplacementMapFilter . You can compare the results of my implementation to the Flash.. to the Flash tutorial available here Displacement Map Filter Animation which uses Flash 8 Pro and ActionScript 2 . There's..
|