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 match peAutoEnhance dilaog parama with Proc

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 - Jul 11 2019 : 08:37:25
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
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 15 2019 : 22:11:48
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