Hey all,
I have a binary image and I would like to preform a distance transform. The metric I want to use is the euclidean distance. How will I proceed?
Thanks in advance
Franckesh
Hey all,
I have a binary image and I would like to preform a distance transform. The metric I want to use is the euclidean distance. How will I proceed?
Thanks in advance
Franckesh
What is distance transform? To do a transform in the sense of a filter, use two for-loops, iterate over x and y of the image and use the pixel-method of Qimage to get the rgb-values of that pixel.
It's nice to be important but it's more important to be nice.
Franckesh (20th January 2010)
@franckesh:
What exactly is your question?
If you know the math you have to apply, then what is the problem you have by applying it, if you don't know the math, this is the wrong place to ask for it.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks