Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Profile Features » ProfileZeroCrossings


Finds the points of a profile at which the profile intersects the x-axis.

Name Type Description
inProfile Profile Input profile
inRange Range*
outZeroCrossings RealArray X coordinates of the locations where the profile crosses the y=0 axis


The operation assumes linear interpolation between the profile values and finds precise locations at which the profile crosses the horizontal \(y = 0\) axis. For the constant profile sections of value 0 only the integer coordinates of the sampling points in the section are returned.


inProfile = {-1.0,3.0,0.0,0.0,0.0} outZeroCrossings = {0.25, 2.0, 3.0, 4.0}

Complexity Level

This filter is available on Basic Complexity Level.