Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2011-10-31 09:37:56

model
Member
Registered: 2011-08-10
Posts: 142

Divide edges into equal distance points

Hand segmented Image : http://imm.io/b0yr

FI i have edges points like presented in the image .
then for example one edge have 100 distance from its start point to end point . how can i divide an edge into 10 equal distance points  ?


Maths is Doctor that make our life easy .. smile smile

https://www.facebook.com/groups/Maths.GIS/

Offline

#2 2011-10-31 09:55:22

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Divide edges into equal distance points

Hi model;

If you mean between two red dots? I would draw a straight line between them and divide that into 10 parts.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#3 2011-10-31 10:11:00

model
Member
Registered: 2011-08-10
Posts: 142

Re: Divide edges into equal distance points

ok  how ?  can you  please do it and tell me  by calculation and drawing , thanks


Maths is Doctor that make our life easy .. smile smile

https://www.facebook.com/groups/Maths.GIS/

Offline

#4 2011-10-31 10:15:14

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Divide edges into equal distance points

Hi;

First, I would have sampled more points than 20 but...

You need first to overlay that image over some graph paper. This you can do manually or by using a program.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#5 2011-10-31 10:19:00

model
Member
Registered: 2011-08-10
Posts: 142

Re: Divide edges into equal distance points

I  think i  need to find the distance like

dis = sqrt( ( x1 - x2 )^ 2  + (y1 - y2)^2  )

and then for dividing this distance into 10 parts  ,. how / ?
I  am not catching small small work . sad


Maths is Doctor that make our life easy .. smile smile

https://www.facebook.com/groups/Maths.GIS/

Offline

#6 2011-10-31 10:21:38

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Divide edges into equal distance points

Hi;

To do that you still have to follow my steps. In other words it has to mapped to a cartestian coordinate system to use the distance formula.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#7 2011-10-31 10:23:39

model
Member
Registered: 2011-08-10
Posts: 142

Re: Divide edges into equal distance points

now how can i make Cartesian coordinates system here for showing the distance formula .


Maths is Doctor that make our life easy .. smile smile

https://www.facebook.com/groups/Maths.GIS/

Offline

#8 2011-10-31 10:28:42

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Divide edges into equal distance points

That is what I am talking about. If you overlay the image of the hand on top of a grid system of xy coordinates. Then each red dot will have an xy coordinate. Then the distance formula can be applied.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#9 2011-10-31 10:30:43

model
Member
Registered: 2011-08-10
Posts: 142

Re: Divide edges into equal distance points

IS there any  online graph and equation editor that help me to draw things that i want .

thanks


Maths is Doctor that make our life easy .. smile smile

https://www.facebook.com/groups/Maths.GIS/

Offline

#10 2011-10-31 10:37:24

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Divide edges into equal distance points

Hi;

That is a good question! Possibly this:

http://pixlr.com/editor/

Or:

You should have some editor on your machine. Irfanview, Faststone viewer, The gimp or inkscape are all good freeware programs.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#11 2011-10-31 10:41:24

TMorgan
Member
Registered: 2011-04-13
Posts: 25

Re: Divide edges into equal distance points

Model,
  Do you have the X and Y coordinates of the red points?

Offline

#12 2011-10-31 10:43:04

model
Member
Registered: 2011-08-10
Posts: 142

Re: Divide edges into equal distance points

Hi TMorgan ,

yes  I  have ./ .
I do't understand how to divide a straight line from  two points  into 10 equal distance . This same i have to do with all edges .

Last edited by model (2011-10-31 10:44:00)


Maths is Doctor that make our life easy .. smile smile

https://www.facebook.com/groups/Maths.GIS/

Offline

#13 2011-10-31 10:44:59

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Divide edges into equal distance points

Why did you not tell me you have xy coordinates?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#14 2011-10-31 10:46:22

model
Member
Registered: 2011-08-10
Posts: 142

Re: Divide edges into equal distance points

well  i said edges points . and edge  made  by two  vertex . so .. i think i do't need to mention that  i have x and y of an edge .

In fact the image that i posted ,. i have hand contours that mean  edges  where edges made by two vertax , so that is clear,

Point here is i need to get equal distance between edges . for that i need to divide say all edges  should be divide into 10 equal distance part .

how can i divide into 10 distance equal parts ?

Last edited by model (2011-10-31 10:49:50)


Maths is Doctor that make our life easy .. smile smile

https://www.facebook.com/groups/Maths.GIS/

Offline

#15 2011-10-31 10:49:06

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Divide edges into equal distance points

Then you do not need to map the image to a cartesian grid. Please provide the coordinates.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#16 2011-10-31 10:51:56

model
Member
Registered: 2011-08-10
Posts: 142

Re: Divide edges into equal distance points

Hand vertex Points :


x     416     y     434
x     410     y     444
x     420     y     453
x     449     y     460
x     456     y     469
x     468     y     473
x     479     y     469
x     465     y     457
x     403     y     423
x     396     y     427
x     398     y     436
x     394     y     444
x     398     y     446
x     407     y     434
x     407     y     425


Maths is Doctor that make our life easy .. smile smile

https://www.facebook.com/groups/Maths.GIS/

Offline

#17 2011-10-31 10:53:04

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Divide edges into equal distance points

The drawing shows 19 red points. Your list has 15?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#18 2011-10-31 10:53:45

model
Member
Registered: 2011-08-10
Posts: 142

Re: Divide edges into equal distance points

TMorgan wrote:

Model,
  Do you have the X and Y coordinates of the red points?

thanks Sir . . May be  i did not write question in good and understandable form .


Maths is Doctor that make our life easy .. smile smile

https://www.facebook.com/groups/Maths.GIS/

Offline

#19 2011-10-31 10:57:24

model
Member
Registered: 2011-08-10
Posts: 142

Re: Divide edges into equal distance points

bobbym wrote:

The drawing shows 19 red points. Your list has 15?

Well , that i supposed . also  vertex points can be change i meant increase or decrease depend on my hand postures .

so more postures , may be  create more edges . so  more vertex .  btw, in the above  image i just suppose that logically those should be my vertex .


Maths is Doctor that make our life easy .. smile smile

https://www.facebook.com/groups/Maths.GIS/

Offline

#20 2011-10-31 11:02:48

TMorgan
Member
Registered: 2011-04-13
Posts: 25

Re: Divide edges into equal distance points

I thought you might since you suggested the distance formula.
You are going to add 9 in between points between each consecutive pair of points.
dX = X2 - X1
dY = Y2 - Y1
X coordinates of in between points = X1 + (dX/10); X1 + 2(dX/10); X1 + 3(dX/10)....
Same for Y coordinates.

Offline

#21 2011-10-31 11:06:47

model
Member
Registered: 2011-08-10
Posts: 142

Re: Divide edges into equal distance points

TMorgan wrote:

I thought you might since you suggested the distance formula.
You are going to add 9 in between points between each consecutive pair of points.
dX = X2 - X1
dY = Y2 - Y1
X coordinates of in between points = X1 + (dX/10); X1 + 2(dX/10); X1 + 3(dX/10)....
Same for Y coordinates.

Sir  can you  please explain the method graphically  too .

Thanks  alot ./


Maths is Doctor that make our life easy .. smile smile

https://www.facebook.com/groups/Maths.GIS/

Offline

#22 2011-10-31 11:09:27

TMorgan
Member
Registered: 2011-04-13
Posts: 25

Re: Divide edges into equal distance points

Bobby,
  Sorry to jump in on you, I just had a feeling you 2 were not quite on the same page.

Offline

#23 2011-10-31 11:11:11

model
Member
Registered: 2011-08-10
Posts: 142

Re: Divide edges into equal distance points

TMorgan wrote:

Bobby,
  Sorry to jump in on you, I just had a feeling you 2 were not quite on the same page.

What do you  mean ?

Do you wanna say that my question is not clear to you too . sad


Maths is Doctor that make our life easy .. smile smile

https://www.facebook.com/groups/Maths.GIS/

Offline

#24 2011-10-31 11:19:23

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Divide edges into equal distance points

Hi;

I do not mind any jumping in.

Your question was always clear to me as long as we either get or have the xy coordinates.

I still require the coordinates of each red dot. Or a means to calculate them.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#25 2011-10-31 11:19:46

TMorgan
Member
Registered: 2011-04-13
Posts: 25

Re: Divide edges into equal distance points

Model,
  I am new here and not yet profficient with the Latex language or posting charts. I can ask you to think of the 2 points you want to connect. There is a horizontal (X) and vertical (Y) distance between them. Like if you had to go from one to the other but you can only go straight up or down and straight sideways. You break each of those distances into 10 parts and take one step at a time. Each step takes you 1/10 of the way to the next point. The 10th step would be
X1 + 10(dx/10) = X1 + dX  which by definition is X2.
  Suppose your 2 points are at the origin (0,0) and at (10,10). Can you see how your in between points would be (1,1), (2,2), (3,3)... and how that fits into the equation I gave?
  One of the more experienced people here hopefully can make you a graph.

Offline

Board footer

Powered by FluxBB