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
 strange flipp to ImageMView with IEVision
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

starter

4 Posts

Posted - Jun 10 2018 :  02:37:19  Show Profile  Reply


attach/starter/201861022742_strangeFlipWithEnMView.dproj.zip
17.41 KB

Strange Flip updown.

when an ImageEnView is processed with IEVision proc,

ImageEnView1.IEBitmap.GetIEVisionImage().adaptiveThreshold;
or
ImageEnView1.IEBitmap.GetIEVisionImage().fastNlMeansDenoisingColored;

then save to ImageEnMView,
imgs.SetImage(i, ImageEnView1.Bitmap);

the image is flip updown except the first time is ok.

Attachment is the example which is modified from the denoising of IEVision demos, to show the strange behavior.

my IE version is 7.5
build with 10.2 tokyo


starter

xequte

38176 Posts

Posted - Jun 10 2018 :  19:20:13  Show Profile  Reply
Hi

Do not use TImageEnView.Bitmap, it is only for legacy projects.

Use:

procedure TMainForm.AddtoMView;
var
  i: Integer;
begin
  i := imgs.AppendImage;
  imgs.SetImage(i, ImageEnView1.IEBitmap);
end;


Or more simply:

procedure TMainForm.AddtoMView;
begin
  imgs.AppendImage(ImageEnView1.IEBitmap);
end;


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

starter

4 Posts

Posted - Jun 10 2018 :  20:01:46  Show Profile  Reply
it works.

thank you!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: