inampudi1
asked on
How to give feathering action for images.
Hi experts,
I am working on delphi 7 (pascal). I am working with image processing application. I am copying group of pixels in the image to some other area in the same image.How to give feathering for pasted part of image, so that it will not look like pasted one.
Regards
Inampudi
I am working on delphi 7 (pascal). I am working with image processing application. I am copying group of pixels in the image to some other area in the same image.How to give feathering for pasted part of image, so that it will not look like pasted one.
Regards
Inampudi
ASKER
Hi,
this allready I tried , but it is very slow ....is their any fast algorithms.
this allready I tried , but it is very slow ....is their any fast algorithms.
ASKER
Hi,
this all ready I tried. it is very slow, since we need to apply mask for each region. is their any alternative way.
Regards
inampudi
this all ready I tried. it is very slow, since we need to apply mask for each region. is their any alternative way.
Regards
inampudi
This should be fast enough :
http://www.compuphase.com/smooth.htm#FILTERMATRIX
The sample code is in C but its extremely easy to convert. Give it a shot.
http://www.compuphase.com/smooth.htm#FILTERMATRIX
The sample code is in C but its extremely easy to convert. Give it a shot.
Also try ImageEn component :
http://www.hi-components.com/nimageen.asp
Download :
http://www.hi-components.com/ndownloads.asp
Flexible image area selections (rectangle, ellipse, polygon and magicwand) including "soft" selection
(you specify the selection intensity from 0 to 100%) and feathering selections.
http://www.hi-components.com/nimageen.asp
Download :
http://www.hi-components.com/ndownloads.asp
Flexible image area selections (rectangle, ellipse, polygon and magicwand) including "soft" selection
(you specify the selection intensity from 0 to 100%) and feathering selections.
ASKER
Hi
I used the code in the link http://www.compuphase.com/smooth.htm#FILTERMATRIX , but it is not giving good feathering effect, it is looking like a disturbed image. How can I do it as showed in the attached file.
feathering.bmp
I used the code in the link http://www.compuphase.com/smooth.htm#FILTERMATRIX , but it is not giving good feathering effect, it is looking like a disturbed image. How can I do it as showed in the attached file.
feathering.bmp
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi,
in the above link ,he is saying " Bitmap must be a 256 color (pf8bit) palette bitmap" . But in my application image is 24bit how can use this function.
in the above link ,he is saying " Bitmap must be a 256 color (pf8bit) palette bitmap" . But in my application image is 24bit how can use this function.
I didn't know that inampudi1.
I don't have any other codes in mind...
You can give ImageEn a try or wait for another expert input...
If i find anything else i will post back :)
Good luck.
I don't have any other codes in mind...
You can give ImageEn a try or wait for another expert input...
If i find anything else i will post back :)
Good luck.
ASKER
Hi,
any experts find the new solution means pl give me.
any experts find the new solution means pl give me.
ASKER
Hi
I changed egf2 algoritham and did the feathering now it is ok.
I changed egf2 algoritham and did the feathering now it is ok.
Check this out :
http://efg2.com/Lab/ImageProcessing/Feathering.htm
Full source with a demo and step by step guides of how to accomplish a feathering effect.
Demo & source : http://efg2.com/Lab/ImageProcessing/Feathering.zip
Hope this helps.