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
 thresholdType ievTHRESH_TRUNC not working

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
starter Posted - Jun 10 2018 : 20:18:55
Hi,

ImageEnView1.IEBitmap.GetIEVisionImage().adaptiveThreshold
thresholdType ievTHRESH_TRUNC not working


when run

ImageEnView1.IEBitmap.GetIEVisionImage().adaptiveThreshold(

spinEdit1.Value,
ievADAPTIVE_THRESH_GAUSSIAN_C,
ievTHRESH_TRUNC, // ievTHRESH_BINARY, //
spinEdit2.Value,
spinEdit3.Value

);

always give a exception of "class EOleException with message 'undefined error'"

but ievTHRESH_BINARY works well.

IEVision verion 4.0.0.0_22342

attach/starter/2018610201735_strangeFlipWithEnMView.dproj.zip
17.41 KB
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 12 2018 : 16:18:11
Sorry, this is not correctly documented

For adaptiveThreshold() the only permitted threshold values are ievTHRESH_BINARY or ievTHRESH_BINARY_INV.

Nigel
Xequte Software
www.imageen.com