Click here to Skip to main content
15,919,879 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Get the caption of active window... Pin
CPallini13-Mar-08 10:41
mveCPallini13-Mar-08 10:41 
GeneralColored Text in win32 window Pin
Member 382549313-Mar-08 0:48
Member 382549313-Mar-08 0:48 
GeneralRe: Colored Text in win32 window Pin
Demian Panello13-Mar-08 0:54
Demian Panello13-Mar-08 0:54 
GeneralRe: Colored Text in win32 window Pin
CPallini13-Mar-08 1:36
mveCPallini13-Mar-08 1:36 
GeneralRe: Colored Text in win32 window Pin
Hamid_RT21-Mar-08 5:02
Hamid_RT21-Mar-08 5:02 
Questionhow to pad bit in last row pixel of image Pin
gentleguy13-Mar-08 0:41
gentleguy13-Mar-08 0:41 
AnswerRe: how to pad bit in last row pixel of image Pin
Chris Losinger13-Mar-08 1:08
professionalChris Losinger13-Mar-08 1:08 
GeneralRe: how to pad bit in last row pixel of image Pin
gentleguy13-Mar-08 17:33
gentleguy13-Mar-08 17:33 
thanks friend, i have done already what you said, but some of images were distorted, i blurred image using Gaussian function.
the code is as follows:

for (int i=0;i<height;i++)>
{
for (int j=0;j<width;j++)>
{
int iIndex=i+j*width;
if (j==0)
{
ucGauImgVArray[iIndex]=ucGauHImg[i+j*iWidth1]*mask[1]+ucGauHImg[i+(j+1)*Width]*mask[2];
}
else if (j==(Height-1))
{
ucGauImgVArray[iIndex]=ucGauHImg[i+(j-1)*Width]*mask[0]+ucGauHImg[i+j*Width]*mask[1];
}
else
{
ucGauImgVArray[iIndex]=ucGauHImg[i+(j-1)*Width]*mask[0]+ucGauHImg[i+j*Width1]*mask[1]+ucGauHImg[i+(j+1)*Width1]*mask[2];
}
}

}


//Declare a memory for vertical convolution

allocimage(&m_vicGauVImg,Width,Height,8);
unsigned char *ucGauVImg=m_vicGauVImg.ibuff;
int Widthbyte=m_vicGauVImg.buffwidth;

for (int y3=0;y3<height;y3++)>
{
for (int x3=0;x3<width;x3++)>
{
int iIndex=x3+y3*iWidth1;
ucGauVImg[x3]=ucGauImgVArray[iIndex];
}
ucGauVImg+=iWidthbyte;
}

i am very sorry, why i couldn't put width,height behind the i,j.very sad..

gentleguy




Generaltab window Pin
coding_ram13-Mar-08 0:36
coding_ram13-Mar-08 0:36 
GeneralRe: tab window Pin
Rajkumar R13-Mar-08 0:50
Rajkumar R13-Mar-08 0:50 
QuestionHELP how to insert the dll into a exe? Pin
wendyyue12-Mar-08 23:21
wendyyue12-Mar-08 23:21 
AnswerRe: HELP how to insert the dll into a exe? Pin
Rajesh R Subramanian12-Mar-08 23:27
professionalRajesh R Subramanian12-Mar-08 23:27 
GeneralRe: HELP how to insert the dll into a exe? Pin
Rajkumar R12-Mar-08 23:36
Rajkumar R12-Mar-08 23:36 
GeneralRe: HELP how to insert the dll into a exe? Pin
Rajesh R Subramanian13-Mar-08 0:54
professionalRajesh R Subramanian13-Mar-08 0:54 
AnswerRe: HELP how to insert the dll into a exe? Pin
David Crow13-Mar-08 2:49
David Crow13-Mar-08 2:49 
Generalporting Pin
coding_ram12-Mar-08 23:16
coding_ram12-Mar-08 23:16 
GeneralRe: porting Pin
Rajkumar R12-Mar-08 23:32
Rajkumar R12-Mar-08 23:32 
GeneralRe: porting Pin
coding_ram12-Mar-08 23:43
coding_ram12-Mar-08 23:43 
Generalview tabs Pin
coding_ram12-Mar-08 23:14
coding_ram12-Mar-08 23:14 
GeneralRe: view tabs Pin
Naveen12-Mar-08 23:17
Naveen12-Mar-08 23:17 
Generalabout variant fonctions?? [modified] Pin
savitri12-Mar-08 23:09
savitri12-Mar-08 23:09 
GeneralRe: about variant fonctions?? Pin
Maxwell Chen12-Mar-08 23:26
Maxwell Chen12-Mar-08 23:26 
GeneralRe: about variant fonctions?? Pin
savitri12-Mar-08 23:35
savitri12-Mar-08 23:35 
GeneralRe: about variant fonctions?? Pin
Maxwell Chen12-Mar-08 23:49
Maxwell Chen12-Mar-08 23:49 
GeneralRe: about variant fonctions?? Pin
savitri13-Mar-08 0:49
savitri13-Mar-08 0:49 

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.