Jump to content

FireWire Camera IEEE 1394


Recommended Posts

QUOTE (Securitysuite @ Nov 18 2008, 11:33 PM)

What are the specification for your video? Can it be black and white video or it has to be color (RGB)

It is possible to use multiple color planes to store a 16 bit monochrome image. When doing this,

the 8 bits of the green plane and 8 bits of the blue plane would be used. This would result in an

AVI that is only blue and green in color. If you are using the AVI to store the images and read them back

at a later time, this might work for you. However, if you plan to view the AVI as a file, I wouldn't recommend

this method. In addition, the process of converting the image to 32 bits can be time consuming

(depending on image size), so the speed of acquisition and AVI frame writing would decrease.

The process involves 3 steps:

1) Convert the image to an array of signed 16 bit integers (using IMAQ ImageToArray function)

2) Cast the array to unsigned 32 bits (To Unsigned Long Integer)

3) Convert the unsigned 32 bit array to an RGB(U32) image (IMAQ ArrayToColorImage).

Once the final RGB(U32) image is created, you can write the AVI frame. When

reading the AVI frames back in, you would need to use the inverse of

the above steps (IMAQ ColorImageToArray, To Signed Integer, and IMAQArrayToImage).

Hope this give you something to start with.

You can also look at: http://www.alliancevision.com/us/products/...i_lib_v2_us.htm

Good luck.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.