sampling of pixel point and find out the distance between them

1 次查看(过去 30 天)
i plot a curve line from an image
now what i want is to sample each points(pixel) lets say on line no 1 there are m pixels(m1,m2,m3,m,4and so on) and same as for line no 2 there are n pixels(n1,n2,n3,n4 and so on) after that i want the distance between 2 correspondence like for eg in line m1 is pixel and correspondence to dat n1 is in second line
so how many white pixels are present between (m1 and n1),(m2 n2) and so on den plot a graph
how to that
ignore first and last line
curvelines.jpg
curve_water.jpg

采纳的回答

Image Analyst
Image Analyst 2019-8-4
I suggest youi first correct your image capture conditions so that your book is pressed flat. Once you have done that the lines of text will be easier to find, like with my attached demo.
  2 个评论
praveen rai
praveen rai 2019-8-5
@image analyst thnx for giving your suggestion I will apply dis.. but lets assume that is my input image and whatever curve line I obtained shown in graph I just want to find the distance/no of pixel between two lines of ther respective pixel points like I mentioned (m1 and n1),(m2 n2) and so on den plot a graph
can u suggest me how to find that because I am doing something in that I want my line to be curve not staright which I got but now want the distance between of each point on lines

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by