ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 CopyWithMask
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

spetric

Croatia
308 Posts

Posted - Feb 08 2016 :  08:14:51  Show Profile  Reply
Hi,

I need to "blend" two images (same sizes) using selection mask with some feather radius. The idea is to smooth selection boundaries between two images.

I've tried using CopyWithMask2 function but it copies part of image from the origin.

Any other suggestion?

xequte

38944 Posts

Posted - Feb 08 2016 :  23:03:30  Show Profile  Reply
Hi Spectric

Have you considered iterating through the scanlines of the selection masks to set one to a "merge" of the two?

Am I following what you mean?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

spetric

Croatia
308 Posts

Posted - Feb 09 2016 :  01:14:29  Show Profile  Reply
Hi Nigel,

Yes, that's exactly what I need. I usually do this using IPL's (or IPP's) composite functions that actually blend two images through gray-scale mask.

However, as I'm writing a program for "User Demos and Applications" topic I can not use Intel's libraries. So, what's left is walking through scanlines.

Thanks,
Siniša
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: