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
 How to match peAutoEnhance dilaog parama with Proc
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
725 Posts

Posted - Jul 11 2019 :  08:37:25  Show Profile  Reply
Hello,

I am trying to apply settings done by user in the DoPreviews dialog for peAutoEnhance.

The IPDialogParams return following:
  • AutoEnhance1_Slope
  • AutoEnhance1_Range
  • AutoEnhance3_Gamma
  • AutoEnhance3_Saturation


Against this the Parameters required for the procedure AutoImageEnhance1 are:
  • SubsampledSize
  • Slope
  • Cut
  • Neighbour


How can I map the values returned by the DoPreviews dialog with the procedure?

TIA


Yogi Yang

xequte

38127 Posts

Posted - Jul 15 2019 :  22:11:48  Show Profile  Reply
Hi Yogi

Please email me for an update which adds AutoEnhance1_Quality.

The four parameters are thus:
SubsampleSize := Sqr( AutoEnhance1_Quality + 3 );
Slope := AutoEnhance1_Slope;
Cut := AutoEnhance1_Range;
Neighbour := iMax( 1, AutoEnhance1_Quality div 2 );

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: