This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2012, Ryan Gomba | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# 1. Redistributions of source code must retain the above copyright notice, this | |
# list of conditions and the following disclaimer. | |
# 2. Redistributions in binary form must reproduce the above copyright notice, | |
# this list of conditions and the following disclaimer in the documentation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<string.h> | |
#include<stdio.h> | |
#include<stddef.h> | |
#include<ueye.h> | |
/******** | |
This allows for changing cam and exposure. | |
Also an attempt is made to use monochrome cam at 10bits - actual image is 24bpp. | |
If you take the first (red) channel from this it appears ok, havent attempted to locate final 2 bits. | |
*********/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<stddef.h> | |
#include<ueye.h> | |
HIDS hCam = 1; | |
void main() { | |
printf("Success-Code: %d\n",IS_SUCCESS); | |
//Kamera öffnen |