Click here to Skip to main content
15,894,540 members
Home / Discussions / C#
   

C#

 
AnswerRe: Referencing exe project Pin
Luc Pattyn7-Aug-07 2:18
sitebuilderLuc Pattyn7-Aug-07 2:18 
GeneralRe: Referencing exe project Pin
MAW307-Aug-07 9:33
MAW307-Aug-07 9:33 
QuestionInterface blues Pin
seanwright6-Aug-07 15:28
seanwright6-Aug-07 15:28 
AnswerRe: Interface blues Pin
Guffa6-Aug-07 15:35
Guffa6-Aug-07 15:35 
QuestionCreate RGB Image Pin
iuri_figueiredo6-Aug-07 12:07
iuri_figueiredo6-Aug-07 12:07 
AnswerRe: Create RGB Image Pin
Luc Pattyn6-Aug-07 12:24
sitebuilderLuc Pattyn6-Aug-07 12:24 
GeneralRe: Create RGB Image Pin
iuri_figueiredo6-Aug-07 12:55
iuri_figueiredo6-Aug-07 12:55 
GeneralRe: Create RGB Image Pin
Luc Pattyn6-Aug-07 13:09
sitebuilderLuc Pattyn6-Aug-07 13:09 
Hi,

sounds quite different already. This is how I understand it:

you buy/get a camera (or is it just a CMOS chip, or possibly a chip+lens ?), it has
a "PVI" interface (which I never heard of). And it will provide an image in JPEG format.

The good thing is:
JPEG is a file format for storing compressed images. If you have a JPEG file
(typically the extension is .jpg or .jpe or .jpeg) then you can simply obtain the
image using: Bitmap bm=Image.FromFile(filepath); or Image.FromStream(stream);
Hence you are not involved in individual pixels, in RGB, and all the gory details.

The bad thing is: your PC does not speak PVI, does it ?
Googling "Parallel Video Interface" only gives about 600 hits; you may want to read some,
but my first impression is PVI is not an official standard, so you may not be able
to buy an interface board that plugs into your desktop PC, or a box that converts PVI
to something more familiar that is available on your desktop or notebook.
So you better ask whoever offers the camera to also offer the PC interface, including
both the hardware board or box AND the driver to work with it; it should offer an API,
which probably will be an unmanaged API, so you would then need a wrapper that
applies P/Invoke to it, before you can use it in .NET

I think you can safely forget Bitmap.SetPixel() for now, and should start solving
your interface problem first.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/AllLanguages/General
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralRe: Create RGB Image Pin
Liam O'Hagan6-Aug-07 16:10
Liam O'Hagan6-Aug-07 16:10 
QuestionRe: Create RGB Image Pin
iuri_figueiredo7-Aug-07 7:22
iuri_figueiredo7-Aug-07 7:22 
QuestionUse FindControl Pin
pariisa6-Aug-07 11:36
pariisa6-Aug-07 11:36 
AnswerRe: Use FindControl Pin
Luc Pattyn6-Aug-07 11:49
sitebuilderLuc Pattyn6-Aug-07 11:49 
QuestionUse Findcontrol Pin
pariisa6-Aug-07 11:30
pariisa6-Aug-07 11:30 
AnswerRe: Use Findcontrol Pin
Luc Pattyn6-Aug-07 11:33
sitebuilderLuc Pattyn6-Aug-07 11:33 
QuestionLabel Help Pin
RussBus6-Aug-07 10:00
RussBus6-Aug-07 10:00 
AnswerRe: Label Help Pin
Hessam Jalali6-Aug-07 10:12
Hessam Jalali6-Aug-07 10:12 
AnswerRe: Label Help Pin
Dave Kreskowiak6-Aug-07 10:12
mveDave Kreskowiak6-Aug-07 10:12 
AnswerRe: Multi threads accessing database Pin
led mike6-Aug-07 9:14
led mike6-Aug-07 9:14 
Questiontime(NULL) [modified] Pin
Blubbo6-Aug-07 8:28
Blubbo6-Aug-07 8:28 
AnswerRe: time(NULL) Pin
Luc Pattyn6-Aug-07 8:50
sitebuilderLuc Pattyn6-Aug-07 8:50 
AnswerRe: time(NULL) Pin
Hessam Jalali6-Aug-07 9:02
Hessam Jalali6-Aug-07 9:02 
AnswerRe: time(NULL) Pin
Guffa6-Aug-07 13:59
Guffa6-Aug-07 13:59 
GeneralRe: time(NULL) Pin
Blubbo7-Aug-07 1:46
Blubbo7-Aug-07 1:46 
AnswerRe: time(NULL) Pin
Guffa7-Aug-07 7:07
Guffa7-Aug-07 7:07 
GeneralRe: time(NULL) Pin
Blubbo7-Aug-07 7:12
Blubbo7-Aug-07 7:12 

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.