Click here to Skip to main content
15,885,767 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Set Up and deployment Pin
Rupesh Kumar Swami6-Mar-09 1:03
Rupesh Kumar Swami6-Mar-09 1:03 
GeneralRe: Set Up and deployment Pin
hrishiS6-Mar-09 2:09
hrishiS6-Mar-09 2:09 
GeneralRe: Set Up and deployment Pin
Dave Kreskowiak6-Mar-09 3:47
mveDave Kreskowiak6-Mar-09 3:47 
GeneralRe: Set Up and deployment Pin
Rupesh Kumar Swami6-Mar-09 4:33
Rupesh Kumar Swami6-Mar-09 4:33 
Questionhow to open a form when click on custom property item in propertygridview Pin
dilipmca045-Mar-09 16:26
dilipmca045-Mar-09 16:26 
AnswerRe: how to open a form when click on custom property item in propertygridview Pin
Dave Kreskowiak6-Mar-09 3:45
mveDave Kreskowiak6-Mar-09 3:45 
GeneralCROSSPOST Pin
Smithers-Jones6-Mar-09 6:32
Smithers-Jones6-Mar-09 6:32 
QuestionOPENCV in grey-scale, another1 know how to convert to a colour output .. Pin
changjiang75-Mar-09 15:24
changjiang75-Mar-09 15:24 
#include "stdlib.h"
#include "stdio.h"
#include "cv.h"
#include "highgui.h"
char *filename;
IplImage *image =0,*image2 =0, *image3=0;
uchar* colourpixels;
int main(int argc, char** argv)
{
cvNamedWindow("Source Image",2);
cvNamedWindow("test",2);
if(argc ==2)
{
filename=argv[1];
}
else exit(0);
if((image=cvLoadImage(filename,0))==0)
return -1;
image2= cvCloneImage(image);

image3=cvCreateImage(cvSize(image->width, image->height), IPL_DEPTH_8U, 1); // create pixel by pixel
for(int pos_y=0;pos_y<image2->height;pos_y++)
{
for(int pos_x=0;pos_x<image2->width;pos_x++)
{
colourpixels = &((uchar*)(image2->imageData+image2->widthStep*pos_y))[pos_x*1];

(image3->imageData+image3->widthStep*pos_y)[image3->width-1+(pos_x*1)]=*colourpixels;
}
}




cvShowImage("Source Image",image);
cvShowImage("test",image3);
cvWaitKey(0);
cvReleaseImage(&image2);
cvReleaseImage(&image);
return 0;
}
AnswerRe: OPENCV in grey-scale, another1 know how to convert to a colour output .. Pin
Dave Kreskowiak5-Mar-09 16:24
mveDave Kreskowiak5-Mar-09 16:24 
GeneralRe: OPENCV in grey-scale, another1 know how to convert to a colour output .. Pin
Smithers-Jones6-Mar-09 6:03
Smithers-Jones6-Mar-09 6:03 
QuestionImageList problem Pin
albchinsh5-Mar-09 13:51
albchinsh5-Mar-09 13:51 
AnswerRe: ImageList problem Pin
Dave Kreskowiak6-Mar-09 3:43
mveDave Kreskowiak6-Mar-09 3:43 
GeneralRe: ImageList problem Pin
albchinsh9-Mar-09 4:27
albchinsh9-Mar-09 4:27 
Questionrotating images using OPENCV .. Pin
changjiang75-Mar-09 11:04
changjiang75-Mar-09 11:04 
AnswerRe: rotating images using OPENCV .. Pin
JMummery5-Mar-09 11:48
professionalJMummery5-Mar-09 11:48 
QuestionData mining with apriori algorithm Pin
Ronaldi5-Mar-09 6:41
Ronaldi5-Mar-09 6:41 
AnswerRe: Data mining with apriori algorithm Pin
Dave Kreskowiak5-Mar-09 7:24
mveDave Kreskowiak5-Mar-09 7:24 
GeneralRe: Data mining with apriori algorithm Pin
Ronaldi5-Mar-09 7:39
Ronaldi5-Mar-09 7:39 
GeneralRe: Data mining with apriori algorithm Pin
Dave Kreskowiak5-Mar-09 7:44
mveDave Kreskowiak5-Mar-09 7:44 
AnswerRe: Data mining with apriori algorithm Pin
EliottA5-Mar-09 8:41
EliottA5-Mar-09 8:41 
GeneralRe: Data mining with apriori algorithm Pin
melina38615-Dec-09 10:03
melina38615-Dec-09 10:03 
GeneralRe: Data mining with apriori algorithm Pin
EliottA15-Dec-09 10:08
EliottA15-Dec-09 10:08 
Question[Message Deleted] Pin
Dilum5-Mar-09 5:14
Dilum5-Mar-09 5:14 
AnswerRe: sp execute problem Pin
Jon_Boy5-Mar-09 6:01
Jon_Boy5-Mar-09 6:01 
QuestionHow to get characters at each side of the cursor position from the VS2008 DTE? Pin
temple31885-Mar-09 4:34
temple31885-Mar-09 4:34 

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.