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
 Emboss of a specifica area
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Guido

Italy
2 Posts

Posted - Feb 10 2013 :  00:56:46  Show Profile  Reply
Hi

how can i select a specific region of an image and process it with emboss to a false colors?

Bye

Guido

w2m

USA
1990 Posts

Posted - Feb 10 2013 :  08:39:21  Show Profile  Reply
What do you mean emboss to a false color?

William Miller
Go to Top of Page

Guido

Italy
2 Posts

Posted - Feb 10 2013 :  13:46:23  Show Profile  Reply
emboss as relief ! i want to say with 'false color' ... deep zone red, less-deep zone orange... yellow .... white ok ???

go to google images and digit : 'relief false colors' and see images ..

bye

Guido
Go to Top of Page

w2m

USA
1990 Posts

Posted - Feb 10 2013 :  15:16:29  Show Profile  Reply
There are no specific methods supported by ImageEn that does embossed colored relief. You can do embossing that provides the relief but not by color. My guess is that you would have to fill the colors then apply an emboss.

This does the embossing, but not by color:
procedure TForm1.Button1Click(Sender: TObject);
const
  iFilter: TGraphFilter = (Values: ((2, 0, 0), (0, 1, 0), (0, 0, -2)); Divisor: 1); // Emboss
  iFilter2: TGraphFilter = (Values: ((-1, 0, 1), (-1, 1, 1), (-1, 0, 1)); Divisor: 1); // Emboss
begin
   ImageEnView1.Proc.ApplyFilter(iFilter);
   //ImageEnView1.Proc.ApplyFilter(iFilter2);
   ImageEnView.Update;
end;;

Remark ImageEnView1.Proc.ApplyFilter(iFilter) and unremark ImageEnView1.Proc.ApplyFilter(iFilter2) to see slightly different results.

William Miller
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: