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
 BeginImageProcessing & BeginImageAnalysis conflict

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
supersk Posted - Jun 12 2021 : 22:26:31
When I use these two functions(BeginImageProcessing and BeginImageAnalysis) alone, everything is OK, but when I call them together, the program will not respond, as shown in the attachment. How to solve it?


attach/supersk/2021612222624_ErrProject5.zip
9.05 KB

My IDE is C++Builder 10.4 Update2 and ImageEn is 10.0.1.
12   L A T E S T    R E P L I E S    (Newest First)
supersk Posted - Oct 18 2021 : 21:34:35
Thanks a lot.It's OK!
xequte Posted - Oct 18 2021 : 17:00:10
Hi

There is a small error in your C++ code. The following code:

if (!proc->BeginImageProcessing(Hyieutils::TIEPixelFormatSet(ie24RGB), x1, y1, x2, y2, "LocalStrech", ProcBitmap, mask))
  return;


Should be written:

if (!proc->BeginImageProcessing(Hyieutils::TIEPixelFormatSet() << ie24RGB, x1, y1, x2, y2, "LocalStrech", ProcBitmap, mask))
  return;


Nigel
Xequte Software
www.imageen.com
supersk Posted - Aug 19 2021 : 04:26:59
Yes#65292; it's same as you described.
xequte Posted - Aug 19 2021 : 01:22:45
Hi

IEGlobalSettings().ActivePNGEngine just returns the engine that is being used. It should be ieenDLL if ielib64.dll is used.
Does 10.1.0 (and ielib 6.0.0) make any difference?

Nigel
Xequte Software
www.imageen.com
supersk Posted - Aug 18 2021 : 21:14:56
I added ielib64.dll into exe folder.And I didn't set the value of IEGlobalSettings().ActivePNGEngine.
xequte Posted - Aug 18 2021 : 19:55:11
Hi

LegacyBitmap forces the use of a standard TBitmap internally (which is not as good with memory management with large images).

Can you let me know about your ActivePNGEngine so I can test here some more?



Nigel
Xequte Software
www.imageen.com
supersk Posted - Aug 17 2021 : 21:24:40
set LegacyBitmap true, the program is all right.Why?
xequte Posted - Jun 20 2021 : 17:38:30
Hi

Can you clarify if you have added ielib64.dll to your exe folder?

What is the value of IEGlobalSettings().ActivePNGEngine?

https://www.imageen.com/help/TIEImageEnGlobalSettings.ActivePNGEngine.html

Nigel
Xequte Software
www.imageen.com
supersk Posted - Jun 15 2021 : 23:34:31
I'm going crazy about this, and I've reinstalled the OS(Win10 64bit) and RAD & ImageEn(10.0.1), but the problem still exists.Can you run the program Project5.exe with sample image? When I run this program, press the button "C and U" the program will die.
xequte Posted - Jun 13 2021 : 18:02:40
I put the UpdateImg() and CaculateImg() calls inside a 500 iteration loop and did not see an error.



Nigel
Xequte Software
www.imageen.com
supersk Posted - Jun 13 2021 : 06:01:47
you should select a region first, and then press button U and C. When press several times, the program will die.


attach/supersk/20216136622_Err project.zip
1100.32 KB
xequte Posted - Jun 13 2021 : 00:54:50
That works when I test it here. Can you give me more information? Also, please attach your EXE.

Nigel
Xequte Software
www.imageen.com