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
 strange flipp to ImageMView with IEVision

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 : 02:37:19


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
2   L A T E S T    R E P L I E S    (Newest First)
starter Posted - Jun 10 2018 : 20:01:46
it works.

thank you!
xequte Posted - Jun 10 2018 : 19:20:13
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