Project

General

Profile

RE: Acquiring images from MityCam CIS1910 with exposures ... ยป CISParameters.h

Jeffrey Myers, 11/28/2016 10:31 AM

 
1
#ifndef CISPARAMETERS_H
2
#define CISPARAMETERS_H
3

    
4
#include <stdint.h>
5

    
6
#define CISPARAM_NOISE_REDUCTION		0x00000001
7
#define CISPARAM_ENABLE_SQRTCOMPRESS	0x00000002
8
#define CISPARAM_DEMO_MODE				0x00000003
9
#define CISPARAM_SCLK_RATE				0x00000004
10
#define CISPARAM_ENABLE_EDGEDETECT		0x00000005
11

    
12
/* CISPARAM_NOISE_REDUCTION */
13
typedef struct tsCisParamNoiseReduction {
14
	uint32_t mnEnableHi;
15
	uint32_t mnHiThresh;
16
	uint32_t mnEnableLo;
17
	uint32_t mnLoThresh;
18
} tsCisParamNoiseReduction;
19

    
20
/* CISPARAM_ENABLE_SQRTCOMPRESS */
21
typedef struct tsCisParamEnableSqrtCompress {
22
	uint32_t mnEnable;
23
} tsCisParamEnableSqrtCompress;
24

    
25
/* CISPARAM_DEMO_MODE */
26
typedef struct tsCisDemoModeEnable {
27
	uint32_t mnDemoMode;
28
} tsCisDemoModeEnable;
29

    
30
/* CISPARAM_SCLK_RATE */
31
typedef struct tsCisParamSCLKRate {
32
	uint32_t mnSCLK_MHz;
33
} tsCisParamSCLKRate;
34

    
35
/* CISPARAM_ENABLE_EDGEDETECT */
36
typedef struct tsCisParamEnableEdgeDetect {
37
	uint32_t mnEnable;
38
	uint32_t mnType; /* SOBEL.  set to 0, currently not used */
39
	float    mnGain; /* set to 1.0, currently not used */
40
} tsCisParamEnableEdgeDetect;
41
#endif
    (1-1/1)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)