SCAMP-5c Vision System  1.0.0
An image sensor with a parallel processor on focal plane
host_and_sim.h
Go to the documentation of this file.
1 
59 //------------------------------------------------------------------------------
60 
61 
66 class handle{
67 };
68 
69 
70 //------------------------------------------------------------------------------
71 
72 
78 
84 
85 
91 
92 
97 sim_pix_source_image(string path);
98 
99 
104 sim_pix_source_video(string path);
105 
106 
107 
121 sim_use_error_model(int v);
122 
123 
154 host_set_frame_rate(int v);
155 
156 
181 handle host_add_display(string text);
182 
183 
193 handle host_add_display(string text,string palette);
194 
195 
217 host_record_display(handle h,string path,int n);
218 
219 
233 handle host_add_datasheet(string text,int r,int c,enum d);
234 
235 
263 handle host_add_slider(string text, int min, int max, int init);
264 
265 
316 handle host_add_slider(string text, int min, int max, int init,int spi_name,int is_latched);
317 
sim_pix_source_video(string path)
use a video as the image source when running as simulation
handle host_add_slider(string text, int min, int max, int init)
add a slider to the APRON UI
sim_pix_source_image(string path)
use an image as the image source when running as simulation
handle host_add_datasheet(string text, int r, int c, enum d)
add a datasheet to the APRON host
apron_config_end()
this function finish the configuration section of the script
sim_use_error_model(int v)
set the level of error model to use in simulation
host_record_display(handle h, string path, int n)
save frames received in a display
apron_config_begin()
this function start the configuration section of the script
host_set_frame_rate(int v)
set the desired frame rate
variable of this type is a handle to a APRON UI object
Definition: host_and_sim.h:66
sim_pix_source_webcam()
use a webcam as the image source when running as simulation
handle host_add_display(string text)
add a display window to the APRON UI