From 208ecea74cfcd24e2e9a982e3b41c2943e225e1c Mon Sep 17 00:00:00 2001 From: Benjamin Roland Buch Date: Mon, 9 Apr 2018 17:30:42 +0200 Subject: [PATCH] update test plans --- .gitignore | 1 + test/plan.ini | 739 +++++++++++++++++++++++++---------------------- test/plan_ir.ini | 2 +- 3 files changed, 398 insertions(+), 344 deletions(-) diff --git a/.gitignore b/.gitignore index 3446629..ca1fb9f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ bin data **/*.log +**/*.dump diff --git a/test/plan.ini b/test/plan.ini index de8669e..db49e28 100644 --- a/test/plan.ini +++ b/test/plan.ini @@ -1,264 +1,281 @@ parameter_set load_save - id_add=33 + id_add=433 + id_modulo=112 id_digits=4 subid_digits=1 -; component -; server = http_server -; root = /home/bebuch/media/projekte/disposer.AppImage/html/ -; port = 8000 +component + server = http_server + root = html + port = 8000 + thread_count = 1 ; fir = camera_vimba ; ip = 192.168.2.201 ; width = 1024 ; height = 770 ; nir = camera_ximea -; cam_id = 1 +; cam_id = 0 ; x_offset = 0 ; y_offset = 3 ; width = 2045 ; height = 1080 ; format = mono8 -; exposure_time_ns = 100000 +; exposure_time_us = 100000 ; vis = camera_ximea -; cam_id = 0 +; cam_id = 1 ; use_camera_region = true ; x_offset = 0 ; y_offset = 32 ; width = 2048 ; height = 1024 ; format = mono8 -; exposure_time_ns = 50000 +; exposure_time_us = 50000 ; List of process chains chain - focus - fir//focus - parameter - distance_in_m = 0.5 - save_live - vis//capture - -> - image = >vis_img - nir//capture - -> - image = >nir_img - fir//capture - -> - image = >fir_img - subbitmap - parameter - x = 0 - y = 0 - width = 1024 - height = 768 - <- - image = - image = >fir_img - normalize_bitmap - parameter - min = 0 - max = 255 - format = uint8 - <- - image = &fir_img - -> - image = >show_fir - raster - parameter - x_count = 4 - y_count = 4 - x_offset = 0 - y_offset = 0 - <- - image = &vis_img - -> - image = >show_vis_img - raster - parameter - x_count = 5 - y_count = 5 - x_offset = 0 - y_offset = 0 - <- - image = &nir_img - -> - image = >show_nir_img - channel_unbundle - parameter - x_count = 4 - y_count = 4 - <- - image = - images = >vis_imgs - vector_disjoin - parameter - count = 16 - <- - list = - data = >vis_img - encode_bbf - <- - image = - data = >vis_data - vector_join - parameter - count = 16 - <- - data = - list = >vis_datas - save - parameter - name = /home/bebuch/media/data/capture/vis_${id}_${subid}_${i}.bbf - <- - content = - images = >nir_imgs - vector_disjoin - parameter - count = 25 - <- - list = - data = >nir_img - encode_bbf - <- - image = - data = >nir_data - vector_join - parameter - count = 25 - <- - data = - list = >nir_datas - save - parameter - name = /home/bebuch/media/data/capture/nir_${id}_${subid}_${i}.bbf - <- - content = - image = >fir_img - encode_bbf - <- - image = - data = >fir_data - save - parameter - name = /home/bebuch/media/data/capture/fir_${id}_${subid}.bbf - <- - content = - image = >show_img - bitmap_join - parameter - default_value = 0 - <- - image1 = - image = >show_img - encode_jpg - <- - image = - data = >show_data - server//websocket - parameter - service_name = scheduler - <- - data = +; image = >vis_img +; nir//capture +; -> +; image = >nir_img +; fir//capture +; -> +; image = >fir_img +; subbitmap +; parameter +; x = 0 +; y = 0 +; width = 1024 +; height = 768 +; <- +; image = +; image = >fir_img +; normalize_bitmap +; parameter +; min = 0 +; max = 255 +; format = uint8 +; <- +; image = &fir_img +; -> +; image = >show_fir +; raster +; parameter +; x_count = 4 +; y_count = 4 +; x_offset = 0 +; y_offset = 0 +; <- +; image = &vis_img +; -> +; image = >show_vis_img +; raster +; parameter +; x_count = 5 +; y_count = 5 +; x_offset = 0 +; y_offset = 0 +; <- +; image = &nir_img +; -> +; image = >show_nir_img +; channel_unbundle +; parameter +; x_count = 4 +; y_count = 4 +; <- +; image = +; images = >vis_imgs +; vector_disjoin +; parameter +; count = 16 +; <- +; list = +; data = >vis_img +; encode_bbf +; <- +; image = +; data = >vis_data +; vector_join +; parameter +; count = 16 +; <- +; data = +; list = >vis_datas +; save +; parameter +; name = /home/bebuch/media/data/capture/vis_${id}_${subid}_${i}.bbf +; <- +; content = +; images = >nir_imgs +; vector_disjoin +; parameter +; count = 25 +; <- +; list = +; data = >nir_img +; encode_bbf +; <- +; image = +; data = >nir_data +; vector_join +; parameter +; count = 25 +; <- +; data = +; list = >nir_datas +; save +; parameter +; name = /home/bebuch/media/data/capture/nir_${id}_${subid}_${i}.bbf +; <- +; content = +; image = >fir_img +; encode_bbf +; <- +; image = +; data = >fir_data +; save +; parameter +; name = /home/bebuch/media/data/capture/fir_${id}_${subid}.bbf +; <- +; content = +; image = >show_img +; bitmap_join +; parameter +; default_value = 0 +; <- +; image1 = +; image = >show_img +; encode_jpg +; <- +; image = +; data = >show_data +; server//websocket +; parameter +; service_name = scheduler +; <- +; data = - image = >vis_img - nir//capture - -> - image = >nir_img - fir//capture - -> - image = >fir_img - subbitmap - parameter - x = 0 - y = 0 - width = 1024 - height = 768 - <- - image = - image = >fir_img - normalize_bitmap - parameter - min = 0 - max = 255 - format = uint8 - <- - image = - image = >show_fir - raster - parameter - x_count = 4 - y_count = 4 - x_offset = 0 - y_offset = 0 - <- - image = - image = >show_vis_img - raster - parameter - x_count = 5 - y_count = 5 - x_offset = 0 - y_offset = 0 - <- - image = - image = >show_nir_img - bitmap_join +; vis//capture +; -> +; image = >vis_img + load parameter - default_value = 0 - orientation = vertical - <- - image1 = - image = >show_img - bitmap_join + content = >nir_data + decode_bbf parameter - default_value = 0 + format = g8u <- - image1 = image = >show_img +; nir//capture +; -> +; image = >nir_img +; fir//capture +; -> +; image = >fir_img +; subbitmap +; parameter +; x = 0 +; y = 0 +; width = 1024 +; height = 768 +; <- +; image = +; image = >fir_img +; normalize_bitmap +; parameter +; min = 0 +; max = 255 +; format = uint8 +; <- +; image = +; image = >show_fir +; raster +; parameter +; x_count = 4 +; y_count = 4 +; x_offset = 0 +; y_offset = 0 +; <- +; image = +; image = >show_vis_img +; raster +; parameter +; x_count = 5 +; y_count = 5 +; x_offset = 0 +; y_offset = 0 +; <- +; image = +; image = >show_img +; image = >show_nir_img +; bitmap_join +; parameter +; default_value = 0 +; orientation = vertical +; <- +; image1 = +; image = >show_img +; bitmap_join +; parameter +; default_value = 0 +; <- +; image1 = +; image = >show_img encode_jpg <- image = - content = >data - decode_bbf - parameter - format = g16u - <- - data = - image = >img - transform_bitmap - parameter - source_points = { 439x205, 648x217, 428x379, 638x392 } - source_size = 1024x768 - target_size = 180x150 - format = 32f - <- - image = - image = >img - encode_bbf - <- - image = - data = >data - save - parameter - parameter_set=load_save - name = /home/bebuch/media/data/transformed/fir_${id}_${subid}.bbf - <- - content = content = >data - vector_disjoin + decode_png parameter - count = 16 - <- - list = - data = >data - decode_bbf - parameter - format = g8u + format = g8 <- data = image = >img transform_bitmap parameter - source_points = { 324x89, 319x173, 253x86, 249x169 } + source_points = { 101x95, 301x102, 97x195, 298x202 } source_size = 512x256 - target_size = 180x150 - format = 32f - <- - image = - image = >img - encode_bbf - <- - image = - data = >data - vector_join - parameter - count = 16 - <- - data = - list = >data - save - parameter - parameter_set=load_save - name = /home/bebuch/media/data/transformed/vis_${id}_${subid}_${i}.bbf - <- - content = - content = >data - vector_disjoin - parameter - count = 25 - <- - list = - data = >data - decode_bbf - parameter - format = g8u - <- - data = - image = >img - transform_bitmap - parameter - source_points = { 261x72, 255x140, 203x69, 199x137 } - source_size = 409x216 - target_size = 180x150 + target_size = 200x100 format = 32f <- image = data = >data - vector_join - parameter - count = 25 - <- - data = - list = >data save parameter - parameter_set=load_save - name = /home/bebuch/media/data/transformed/nir_${id}_${subid}_${i}.bbf + name = /home/bebuch/media/projekte/disposer_module/test/Target_Image_${id}.bbf <- content = +; content = >data +; decode_bbf +; parameter +; format = g16u +; <- +; data = +; image = >img +; transform_bitmap +; parameter +; source_points = { 439x205, 648x217, 428x379, 638x392 } +; source_size = 1024x768 +; target_size = 180x150 +; format = 32f +; <- +; image = +; image = >img +; encode_bbf +; <- +; image = +; data = >data +; save +; parameter +; parameter_set=load_save +; name = /home/bebuch/media/data/transformed/fir_${id}_${subid}.bbf +; <- +; content = +; content = >data +; vector_disjoin +; parameter +; count = 16 +; <- +; list = +; data = >data +; decode_bbf +; parameter +; format = g8u +; <- +; data = +; image = >img +; transform_bitmap +; parameter +; source_points = { 324x89, 319x173, 253x86, 249x169 } +; source_size = 512x256 +; target_size = 180x150 +; format = 32f +; <- +; image = +; image = >img +; encode_bbf +; <- +; image = +; data = >data +; vector_join +; parameter +; count = 16 +; <- +; data = +; list = >data +; save +; parameter +; parameter_set=load_save +; name = /home/bebuch/media/data/transformed/vis_${id}_${subid}_${i}.bbf +; <- +; content = +; content = >data +; vector_disjoin +; parameter +; count = 25 +; <- +; list = +; data = >data +; decode_bbf +; parameter +; format = g8u +; <- +; data = +; image = >img +; transform_bitmap +; parameter +; source_points = { 261x72, 255x140, 203x69, 199x137 } +; source_size = 409x216 +; target_size = 180x150 +; format = 32f +; <- +; image = +; image = >img +; encode_bbf +; <- +; image = +; data = >data +; vector_join +; parameter +; count = 25 +; <- +; data = +; list = >data +; save +; parameter +; parameter_set=load_save +; name = /home/bebuch/media/data/transformed/nir_${id}_${subid}_${i}.bbf +; <- +; content =