T O P I C R E V I E W |
spetric |
Posted - Jan 26 2016 : 16:50:35 Hi,
Is it possible to shrink a selection (lasso) by some amount of pixels?
|
3 L A T E S T R E P L I E S (Newest First) |
rmklever |
Posted - Jan 29 2016 : 14:14:06 Hi,
Maybe you could use a thinning procedure on the selection mask bitmap. Since Imageen has Canny Edge detection it shold also have a thinning procedure built in.
Just a thought
Roy M Klever Klever on Delphi - www.rmklever.com |
spetric |
Posted - Jan 29 2016 : 04:42:36 Thanks Nigel,
That will do the job.
|
xequte |
Posted - Jan 28 2016 : 18:19:24 Hi
There is not a built in method to do this (probably should be), but you should be able to do it by iterating through all the TImageEnView.PolySelPoints. The specific algorithm would be a matter of taste, but you could try decreasing X if X < selection horz center, and increasing if X > selection horz center, with the same in the Y dimension. That should give an agreeable result.
http://www.imageen.com/help/TImageEnView.PolySelPoints.html
Nigel Xequte Software www.xequte.com nigel@xequte.com |