I have a series of unit normals/tangents that are sampled at a regular intervals along the x dimension but I do not have their heights/y-component. For example:

I would like to integrate the gradients into a curve, but am a bit stuck because it is unclear to me how to appropriately estimate the gradient from these normals/tangents. Can anyone recommend a paper/source that would help describe how I could reconstruct a 1D curve based upon these unit normals? I'm not currently interested in 3D reconstruction, merely this simple test case of reconstructing a 1D curve. Thanks for any help you can provide!