简体   繁体   中英

Interpolate a function according to an image

图像矩阵中的数据在matrice中所需的功能

I have in this image 3 "lines".

I would like to interpulate 3 functions from the data in the picture something like the second picture,

any ideas?

First I'll assume you have a mapping of color to intensity. You really want to work with the intensity as a grayscale image.

Use a blurring function to reduce the noise in the image and help make the output continuous.

Use a vertical difference to find the line. Where the difference switches from positive to negative is the place to put your line.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM