Click here to Skip to main content
15,915,019 members
Home / Discussions / C#
   

C#

 
Question3 way byte merge Pin
jkohler22-Sep-10 4:01
jkohler22-Sep-10 4:01 
AnswerRe: 3 way byte merge Pin
OriginalGriff22-Sep-10 4:19
mveOriginalGriff22-Sep-10 4:19 
GeneralRe: 3 way byte merge Pin
jkohler22-Sep-10 4:28
jkohler22-Sep-10 4:28 
AnswerRe: 3 way byte merge Pin
Ennis Ray Lynch, Jr.22-Sep-10 5:07
Ennis Ray Lynch, Jr.22-Sep-10 5:07 
GeneralRe: 3 way byte merge Pin
jkohler22-Sep-10 5:15
jkohler22-Sep-10 5:15 
GeneralRe: 3 way byte merge Pin
harold aptroot22-Sep-10 5:40
harold aptroot22-Sep-10 5:40 
GeneralRe: 3 way byte merge Pin
jkohler22-Sep-10 6:00
jkohler22-Sep-10 6:00 
GeneralRe: 3 way byte merge Pin
harold aptroot22-Sep-10 6:11
harold aptroot22-Sep-10 6:11 
AnswerRe: 3 way byte merge Pin
Chris Trelawny-Ross22-Sep-10 9:19
Chris Trelawny-Ross22-Sep-10 9:19 
GeneralRe: 3 way byte merge Pin
jkohler22-Sep-10 9:35
jkohler22-Sep-10 9:35 
GeneralRe: 3 way byte merge Pin
Michael B. Hansen23-Sep-10 2:27
Michael B. Hansen23-Sep-10 2:27 
GeneralRe: 3 way byte merge Pin
ely_bob23-Sep-10 8:25
professionalely_bob23-Sep-10 8:25 
GeneralRe: 3 way byte merge Pin
JonHarrison23-Sep-10 2:27
professionalJonHarrison23-Sep-10 2:27 
GeneralRe: 3 way byte merge Pin
jkohler23-Sep-10 3:24
jkohler23-Sep-10 3:24 
GeneralRe: 3 way byte merge Pin
JonHarrison23-Sep-10 3:34
professionalJonHarrison23-Sep-10 3:34 
GeneralRe: 3 way byte merge Pin
harold aptroot22-Sep-10 9:51
harold aptroot22-Sep-10 9:51 
GeneralRe: 3 way byte merge Pin
Chris Trelawny-Ross22-Sep-10 11:04
Chris Trelawny-Ross22-Sep-10 11:04 
GeneralRe: 3 way byte merge Pin
harold aptroot22-Sep-10 11:42
harold aptroot22-Sep-10 11:42 
GeneralRe: 3 way byte merge Pin
Chris Trelawny-Ross22-Sep-10 12:02
Chris Trelawny-Ross22-Sep-10 12:02 
GeneralRe: 3 way byte merge Pin
harold aptroot22-Sep-10 12:25
harold aptroot22-Sep-10 12:25 
GeneralRe: 3 way byte merge Pin
Chris Trelawny-Ross22-Sep-10 12:33
Chris Trelawny-Ross22-Sep-10 12:33 
AnswerRe: 3 way byte merge Pin
philpalk23-Sep-10 3:10
philpalk23-Sep-10 3:10 
AnswerRe: 3 way byte merge Pin
[NL]PUR23-Sep-10 3:19
[NL]PUR23-Sep-10 3:19 
AnswerRe: 3 way byte merge - no joy in C# ville Pin
jkohler23-Sep-10 4:21
jkohler23-Sep-10 4:21 
To all,

Thank you one and all for your responses.

Of all the suggestions the one with the largest impact on speed is the one going to the 32bpp format. This reduced the conversion time from ~50ms to ~42ms but the extra 1.9Mb required for each image is not (in my particular case) a good trade off. The other suggestions resulted in 1ms or maybe 2ms improvements with no single technique showing a clear improvement.

This project involves inspecting components in trays - there may be up to 4 images per component with (so far) a max of 52 components per tray. All these images need to be available to the operator at "a touch of the screen".

With this many images (each is 1600x1200) I really just need to dust off the ol' C/ASM skills and convert to a 16bpp format - gaining 2Mb per image in the process.

Again, thanks for the suggestions.
Subvert The Dominant Paradigm

AnswerRe: 3 way byte merge Pin
Michael Kingsford Gray23-Sep-10 4:36
Michael Kingsford Gray23-Sep-10 4:36 

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.