Re: How can I get coordinates selected interactively by the user on the image?
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Thanks! I was suspicious that was the only way, but I was hoping I was wrong. Again, thanks, Rob On 01/27/2011 05:18 PM, Joao S. O. Bueno wrote: > > On Thu, Jan 27, 2011 at 10:57 PM, H. Rob <rob.frohne@xxxxxxxxxxxxxx > <mailto:rob.frohne%40wallawalla.edu>> wrote: > > Hi, > > > > I want to select four corners of a white board photo to do a > perspective transformation and to crop to in a script-fu script. Is > there a good way to do this? > > There is no official way to do that for script-fu or > automatically-generated interface python-fu scripts (appart from > asking the user to type each coordinate, of course). > > However, in my experience a good way to achieve coordinate input for > *-fu scripts is asking the user to draw a path (vector) on the image, > and using the first N control points of said path as the needed > coordinates. You can use the vectors pdb functions to read those > coordinates. > > regards, > > js > -><- > > > > Thanks, > > > > Rob > > > > > > > > ------------------------------------ > > > > Yahoo! Groups Links > > > > > > > > > > -- Rob Frohne, Ph.D., P.E. E.F. Cross School of Engineering Walla Walla University 100 SW 4th Street College Place, WA 99324 (509) 527-2075 http://people.wallawalla.edu/~rob.frohne [Non-text portions of this message have been removed]
[Gimp Developers] [Gimp Users] [Photos] [Yosemite News] [Yosemite Photos] [Epson Inkjet] [Scanner] [Gimp's Home] [Steve's Art]