# OpenCV update, Heaviside Step Function, deriving parametric functions of shapes, Sobel filter

**URL:** <https://discourse.processing.org/t/opencv-update-heaviside-step-function-deriving-parametric-functions-of-shapes-sobel-filter/21931>\
**Category:** Libraries\
**Created:** [June 16, 2020, 9:59pm UTC](https://discourse.processing.org/t/opencv-update-heaviside-step-function-deriving-parametric-functions-of-shapes-sobel-filter/21931 "2020-06-16T21:59:30Z")\
**Posts on this page:** 1\
**Showing post:** 50

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [August 24, 2020, 10:07am UTC](https://discourse.processing.org/t/opencv-update-heaviside-step-function-deriving-parametric-functions-of-shapes-sobel-filter/21931/50 "2020-08-24T10:07:17Z")

</div>

For those whom interested:  
To use the latest openCV library (4.4.0 at the time of this post) you need to paste the jar’s and dll in a folder “code” within your sketch folder.  
I’ve prepared a zip of this folder with all the jar’s build and dll. You can download it [here](https://drive.google.com/file/d/1luQ0m76r1V6u5dqu6uyS8rHKBn_r_JL-/view?usp=sharing).  
I also made a new repository [here,](https://github.com/EmmanuelPil/OpenCV-code-and-libraries-for-Processing) where I plan to post various codes that can’t be done with the older openCV-processing version. An example is for example the warpAffine function.

 ![warp](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/4/4e3f68c452296db273beee2ddd62d25c8a056d20.jpeg)

> [@noel](#):
>
> I need to retrieve the hierarchy array (outer (parent) and inner (child) shapes) of the contours. The methods of OpenCV\_processing lib do not give access to that,

This I also solved and posted it on my repo [here](https://github.com/EmmanuelPil/OpenCV-code-and-libraries-for-Processing/blob/master/hierarchy). It uses the same image and thus the same result as on the openCV [tutorial](https://docs.opencv.org/master/d9/d8b/tutorial_py_contours_hierarchy.html) about hierarchy. This is handy when you convert contours into shapes and you want holes in them.

---

_[View the full topic](https://discourse.processing.org/t/opencv-update-heaviside-step-function-deriving-parametric-functions-of-shapes-sobel-filter/21931)._
