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
 The fastest way to display 2D matrix

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
maxnovikov Posted - Mar 29 2017 : 00:41:44
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,
2   L A T E S T    R E P L I E S    (Newest First)
maxnovikov Posted - Mar 29 2017 : 01:25:08
OK, thanks!
I'll try

regards,
xequte Posted - Mar 29 2017 : 00:49:40
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