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
 The fastest way to display 2D matrix
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

maxnovikov

Russia
4 Posts

Posted - Mar 29 2017 :  00:41:44  Show Profile  Reply
Hello!
What is fastest way to display 2D matrix (of integer)as image? When set pixel's value pixel by pixel (ImageEn.IEBitmap.Canvas.Pixels [i, j]:=...) gets about 10 sec for maxtrix ~1000 * 1000 . Too much ....



regards,

xequte

38189 Posts

Posted - Mar 29 2017 :  00:49:40  Show Profile  Reply
Hi

Pixel access will be too slow. Use scanline instead:

http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/Graphics_TBitmap_ScanLine.html


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

maxnovikov

Russia
4 Posts

Posted - Mar 29 2017 :  01:25:08  Show Profile  Reply
OK, thanks!
I'll try

regards,
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: