Click here to Skip to main content
15,894,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Vissual C++ express 2008 Pin
Aescleal29-Jun-10 0:09
Aescleal29-Jun-10 0:09 
GeneralRe: Vissual C++ express 2008 Pin
Richard MacCutchan29-Jun-10 1:45
mveRichard MacCutchan29-Jun-10 1:45 
QuestionImage Matrix Pin
Harish Makaram28-Jun-10 3:34
Harish Makaram28-Jun-10 3:34 
AnswerRe: Image Matrix Pin
chandu00428-Jun-10 20:16
chandu00428-Jun-10 20:16 
GeneralRe: Image Matrix Pin
Harish Makaram28-Jun-10 23:01
Harish Makaram28-Jun-10 23:01 
GeneralRe: Image Matrix Pin
chandu00429-Jun-10 0:39
chandu00429-Jun-10 0:39 
GeneralRe: Image Matrix Pin
Maximilien29-Jun-10 0:47
Maximilien29-Jun-10 0:47 
GeneralRe: Image Matrix Pin
Harish Makaram29-Jun-10 1:52
Harish Makaram29-Jun-10 1:52 
Ok ... I will try again.

I have a matrix of size 128x128. I want to divide this matrix into groups of 4x4 that means the resultant is a matrix of 32x32.

The next step is to take an average of this 4x4 matrix, and have the same value for all matrix elements.

The resultant will be something like this

a b c d
e f g h
M1=i j k l
m n o p

M1 is the given matrix. The new matrix M2 is given with the element value q is given by

q = a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p/16


q q q q
q q q q
M2=q q q q
q q q q

And in the next step I want to subtract M2-M1.

Would be great if you can help me with a code snippet.

Thanks
GeneralRe: Image Matrix Pin
chandu00429-Jun-10 2:54
chandu00429-Jun-10 2:54 
GeneralRe: Image Matrix Pin
Harish Makaram29-Jun-10 3:21
Harish Makaram29-Jun-10 3:21 
GeneralRe: Image Matrix Pin
chandu00429-Jun-10 4:14
chandu00429-Jun-10 4:14 
GeneralRe: Image Matrix Pin
chandu00429-Jun-10 16:22
chandu00429-Jun-10 16:22 
QuestionRedrawWindow + ListControl Pin
MsmVc28-Jun-10 1:21
MsmVc28-Jun-10 1:21 
AnswerRe: RedrawWindow + ListControl Pin
Niklas L28-Jun-10 1:34
Niklas L28-Jun-10 1:34 
AnswerRe: RedrawWindow + ListControl Pin
Mohan Ramachandra28-Jun-10 2:56
Mohan Ramachandra28-Jun-10 2:56 
QuestionReply for ComboBox Sorting Alphabetically Pin
raju_shiva27-Jun-10 23:40
raju_shiva27-Jun-10 23:40 
AnswerRe: Reply for ComboBox Sorting Alphabetically Pin
Niklas L28-Jun-10 1:03
Niklas L28-Jun-10 1:03 
GeneralRe: Reply for ComboBox Sorting Alphabetically [modified] Pin
raju_shiva28-Jun-10 18:10
raju_shiva28-Jun-10 18:10 
QuestionFullScrean listbox Pin
aangerma27-Jun-10 22:34
aangerma27-Jun-10 22:34 
AnswerRe: FullScrean listbox Pin
Mohan Ramachandra27-Jun-10 22:48
Mohan Ramachandra27-Jun-10 22:48 
GeneralRe: FullScrean listbox Pin
aangerma27-Jun-10 23:21
aangerma27-Jun-10 23:21 
GeneralRe: FullScrean listbox Pin
Mohan Ramachandra28-Jun-10 1:25
Mohan Ramachandra28-Jun-10 1:25 
AnswerRe: FullScrean listbox Pin
Niklas L27-Jun-10 22:49
Niklas L27-Jun-10 22:49 
GeneralRe: FullScrean listbox Pin
aangerma28-Jun-10 1:24
aangerma28-Jun-10 1:24 
GeneralRe: FullScrean listbox Pin
Niklas L28-Jun-10 1:36
Niklas L28-Jun-10 1: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.