xirja
![]() |
Not sure if this problem can only be solved by a script, but I need an arbitrary point to be moved to the origin. Without knowing the initial distance from the center, how to move the point TO the center?
![]() _____________________________________________________
http://web.archive.org/web/2021062908...rjadesign/ _____________________________________________________ |
|
Posted: June 10, 2013 5:48 pm | ||
xirja
![]() |
Best attempt attached below
Point to Origin.ffxml _____________________________________________________
http://web.archive.org/web/2021062908...rjadesign/ _____________________________________________________ |
|
Posted: June 10, 2013 5:50 pm | ||
xirja
![]() |
I should have said polygon/ellipse/etc instead of point, but isn't a point really just an area or volume anyway in the real world, 0 dimensional, ha!
![]() _____________________________________________________
http://web.archive.org/web/2021062908...rjadesign/ _____________________________________________________ |
|
Posted: June 10, 2013 5:53 pm | ||
ThreeDee
![]() |
I would do it like this if radius was known. Twice as complicated if radius is not known, for you have to establish distance from both edges and average the result. (FF4)
Point to Origin.ffxml |
|
Posted: June 11, 2013 2:47 am | ||
ThreeDee
![]() |
||
Posted: June 11, 2013 2:59 am | ||
ThreeDee
![]() |
Better methods very likely exist.
|
|
Posted: June 11, 2013 3:01 am | ||
xirja
![]() |
Oh the glory of the motion blur! Genius. Thank you.
![]() _____________________________________________________
http://web.archive.org/web/2021062908...rjadesign/ _____________________________________________________ |
|
Posted: June 11, 2013 7:31 am | ||
ThreeDee
![]() |
You may wanna try scripting part of it, namely finding the distance fr om the edges after the initial horizontal (or vertical) motion blur and threshold. Might improve the speed, as you would need to do it for just one horizontal row and column of pixels, wh ereas the motion blur is pretty calculation-intensive.
BTW, the same method can be used to remove all white area around the image for an automatic "scale-to-fit", and other things of that nature. |
|
Posted: June 12, 2013 7:41 am | ||
xirja
![]() |
![]() _____________________________________________________
http://web.archive.org/web/2021062908...rjadesign/ _____________________________________________________ |
|
Posted: July 24, 2016 7:55 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,533 Posts
+38 new in 30 days!
15,348 Topics
+73 new in year!
22 unregistered users.