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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to select Bounces of Chroma Key Image?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yogiyang Posted - Aug 29 2016 : 11:15:14
Hello,

I am using following code to Chromakey an image
ResetChromaKeyImage();

  // Resize background to match foreground layer if it smaller
  w := imax(ImageEnView1.Layers[ 0 ].Bitmap.Width,  ImageEnView1.Layers[ 1 ].Bitmap.Width );
  h := imax(ImageEnView1.Layers[ 0 ].Bitmap.Height, ImageEnView1.Layers[ 1 ].Bitmap.Height );
  ImageEnView1.Layers[ 0 ].Bitmap.Resample( w, h );

  ImageEnView1.LayersCurrent := 1;
  ImageEnView1.Proc.RemoveChromaKey( KeyColor,
                                     trkTolerance.Position / 1000,
                                     trkSaturation.Position,
                                     updEdgeFeather.Position,
                                     cmbHueReduction.ItemIndex,
                                     chkRemoveNoise.Checked );

  ImageEnView1.Update();

  ProgressBar1.Visible := False;


After the unwanted background is removed I want to actually select the boundary of what remains of the image and create a mask from it as well as crop the layer so that its size is according to the what is left.

TIA


Yogi Yang
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 31 2016 : 00:06:20
Hopefully by the end of the week. Just finalizing a few things...

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
yogiyang Posted - Aug 30 2016 : 00:28:28
Hello Nigel,

When is v6.3.1 expected to get released?


Yogi Yang
xequte Posted - Aug 29 2016 : 23:01:35
Hi Yogi

V6.3.1 will allow you to select the non-alpha area of an image.

ImageEnView1.SelectNonAlpha();


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com