Click here to Skip to main content
16,016,623 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerThe Answer is YES Pin
David Mujica29-Sep-10 15:10
David Mujica29-Sep-10 15:10 
QuestionParameters in Table Adapters Pin
indian14321-Sep-10 4:55
indian14321-Sep-10 4:55 
AnswerRe: Parameters in Table Adapters Pin
Eddy Vluggen22-Sep-10 9:40
professionalEddy Vluggen22-Sep-10 9:40 
QuestionTeam build, SGen & Mixed mode assembly Pin
RichardGrimmer19-Sep-10 21:14
RichardGrimmer19-Sep-10 21:14 
QuestionHow to shift a bitmap efficiently (Spectrogram Application) [modified] Pin
bimbambumbum19-Sep-10 13:53
bimbambumbum19-Sep-10 13:53 
AnswerRe: How to shift a bitmap efficiently (Spectrogram Application) Pin
Luc Pattyn19-Sep-10 15:43
sitebuilderLuc Pattyn19-Sep-10 15:43 
GeneralRe: How to shift a bitmap efficiently (Spectrogram Application) Pin
bimbambumbum19-Sep-10 16:55
bimbambumbum19-Sep-10 16:55 
GeneralRe: How to shift a bitmap efficiently (Spectrogram Application) Pin
Luc Pattyn19-Sep-10 17:11
sitebuilderLuc Pattyn19-Sep-10 17:11 
Hi Tom,

1.
bimbambumbum wrote:
Do you know which copying method is fastest?


It depends. What type are your matrix elements? how are they calculated/obtained? can you choose their type, format, and storage characteristics at the producer (without adding a significant number of cycles)? Is there only one trace in the image? Is it black/white, grayscale, colored?

2.
bimbambumbum wrote:
MSDN doc seems sparse


It may be obscure, hard to understand, lacking examples, but scarce it is not.
AFAIK GDI/GDI+ only paint images represented by the Image/Bitmap classes in .NET; so yes BitmapData is relevant. They do support all kinds of PixelFormats though.

3.
I would avoid having a matrix and a bitmap, requiring converting one in the other. I'd rather have the producer manipulate the bitmap, i.e. move existing data (or not) and stuff new data. It may take "unsafe code", "pointers", and maybe native code and "P/Invoke" for max performance.

4.
if you already have something up and running (slowly), I'd be interested in image size, column update frequency required, and current performance (with summary hardware description). And maybe relevant code.

5.
I might consider writing an article, as it seems like an interesting topic for one.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: How to shift a bitmap efficiently (Spectrogram Application) Pin
bimbambumbum19-Sep-10 17:32
bimbambumbum19-Sep-10 17:32 
AnswerRe: How to shift a bitmap efficiently (Spectrogram Application) Pin
Luc Pattyn19-Sep-10 17:48
sitebuilderLuc Pattyn19-Sep-10 17:48 
GeneralRe: How to shift a bitmap efficiently (Spectrogram Application) Pin
bimbambumbum19-Sep-10 17:57
bimbambumbum19-Sep-10 17:57 
AnswerRe: How to shift a bitmap efficiently (day 2) [modified] Pin
Luc Pattyn20-Sep-10 16:14
sitebuilderLuc Pattyn20-Sep-10 16:14 
GeneralRe: How to shift a bitmap efficiently (day 2) [modified] Pin
bimbambumbum20-Sep-10 17:54
bimbambumbum20-Sep-10 17:54 
GeneralRe: How to shift a bitmap efficiently (day 2) Pin
Luc Pattyn20-Sep-10 18:09
sitebuilderLuc Pattyn20-Sep-10 18:09 
GeneralRe: How to shift a bitmap efficiently (day 2) Pin
bimbambumbum21-Sep-10 11:23
bimbambumbum21-Sep-10 11:23 
GeneralRe: How to shift a bitmap efficiently (day 2) [modified] Pin
Luc Pattyn21-Sep-10 11:41
sitebuilderLuc Pattyn21-Sep-10 11:41 
GeneralRe: How to shift a bitmap efficiently (day 2) Pin
bimbambumbum21-Sep-10 11:45
bimbambumbum21-Sep-10 11:45 
AnswerRe: How to shift a bitmap efficiently (day 2) Pin
Luc Pattyn20-Sep-10 18:29
sitebuilderLuc Pattyn20-Sep-10 18:29 
GeneralRe: How to shift a bitmap efficiently (day 2) Pin
bimbambumbum22-Sep-10 13:01
bimbambumbum22-Sep-10 13:01 
GeneralRe: How to shift a bitmap efficiently (day 3) Pin
Luc Pattyn22-Sep-10 13:06
sitebuilderLuc Pattyn22-Sep-10 13:06 
QuestionDataBinding-aware (dependency)objects? Pin
Don Rolando19-Sep-10 3:32
Don Rolando19-Sep-10 3:32 
Questionpicturebox.visible problem Pin
bimbambumbum18-Sep-10 15:36
bimbambumbum18-Sep-10 15:36 
AnswerRe: picturebox.visible problem Pin
bimbambumbum18-Sep-10 15:42
bimbambumbum18-Sep-10 15:42 
GeneralRe: picturebox.visible problem Pin
DaveyM6918-Sep-10 20:29
professionalDaveyM6918-Sep-10 20:29 
AnswerRe: picturebox.visible problem Pin
Luc Pattyn19-Sep-10 3:44
sitebuilderLuc Pattyn19-Sep-10 3:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.