|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "wedgebug_opencv.h"#include <opencv2/core/core.hpp>#include <opencv2/imgproc/imgproc.hpp>#include <opencv2/imgproc/types_c.h>#include <opencv2/imgcodecs/imgcodecs.hpp>#include <opencv2/calib3d/calib3d.hpp>#include <iostream>#include <stdint.h>Go to the source code of this file.
Functions | |
| int | transfer (const Mat *from, const image_t *to) |
| int | save_image_gray (struct image_t *img, char *myString) |
| int | save_image_color (struct image_t *img, char *myString) |
| int | save_image_HM (struct image_t *img, char *myString, int const heatmap) |
| int | SBM_OCV (struct image_t *img_disp, const struct image_t *img_left, const struct image_t *img_right, const int ndisparities, const int SADWindowSize, const bool cropped) |
| int | opening_OCV (struct image_t *img_input, const struct image_t *img_output, const int SE_size, const int iteration) |
| int | closing_OCV (struct image_t *img_input, const struct image_t *img_output, const int SE_size, const int iteration) |
| int | dilation_OCV (struct image_t *img_input, const struct image_t *img_output, const int SE_size, const int iteration) |
| int | erosion_OCV (struct image_t *img_input, const struct image_t *img_output, const int SE_size, const int iteration) |
| int | sobel_OCV (struct image_t *img_input, const struct image_t *img_output, const int kernel_size, const int thr) |
| int closing_OCV | ( | struct image_t * | img_input, |
| const struct image_t * | img_output, | ||
| const int | SE_size, | ||
| const int | iteration ) |
Definition at line 304 of file wedgebug_opencv.cpp.
References image_t::buf, image_t::h, IMAGE_GRAYSCALE, IMAGE_INT16, transfer(), image_t::type, and image_t::w.
Referenced by background_processes(), and background_processes_16bit().
| int dilation_OCV | ( | struct image_t * | img_input, |
| const struct image_t * | img_output, | ||
| const int | SE_size, | ||
| const int | iteration ) |
Definition at line 330 of file wedgebug_opencv.cpp.
References image_t::buf, image_t::h, IMAGE_GRAYSCALE, IMAGE_INT16, transfer(), image_t::type, and image_t::w.
Referenced by background_processes(), and background_processes_16bit().
| int erosion_OCV | ( | struct image_t * | img_input, |
| const struct image_t * | img_output, | ||
| const int | SE_size, | ||
| const int | iteration ) |
Definition at line 355 of file wedgebug_opencv.cpp.
References image_t::buf, image_t::h, IMAGE_GRAYSCALE, IMAGE_INT16, transfer(), image_t::type, and image_t::w.
Referenced by background_processes_16bit().
| int opening_OCV | ( | struct image_t * | img_input, |
| const struct image_t * | img_output, | ||
| const int | SE_size, | ||
| const int | iteration ) |
Definition at line 277 of file wedgebug_opencv.cpp.
References image_t::buf, image_t::h, IMAGE_GRAYSCALE, IMAGE_INT16, transfer(), image_t::type, and image_t::w.
Referenced by background_processes(), and background_processes_16bit().
| int save_image_color | ( | struct image_t * | img, |
| char * | myString ) |
Definition at line 94 of file wedgebug_opencv.cpp.
References image_t::buf, image_t::h, and image_t::w.
| int save_image_gray | ( | struct image_t * | img, |
| char * | myString ) |
Definition at line 69 of file wedgebug_opencv.cpp.
References image_t::buf, image_t::h, IMAGE_GRAYSCALE, IMAGE_INT16, image_t::type, and image_t::w.
Referenced by background_processes(), background_processes_16bit(), and wedgebug_periodic().
| int save_image_HM | ( | struct image_t * | img, |
| char * | myString, | ||
| int const | heatmap ) |
Definition at line 116 of file wedgebug_opencv.cpp.
References image_t::buf, image_t::h, IMAGE_GRAYSCALE, IMAGE_INT16, image_t::type, and image_t::w.
Referenced by background_processes(), background_processes_16bit(), and wedgebug_periodic().
| int SBM_OCV | ( | struct image_t * | img_disp, |
| const struct image_t * | img_left, | ||
| const struct image_t * | img_right, | ||
| const int | ndisparities, | ||
| const int | SADWindowSize, | ||
| const bool | cropped ) |
Definition at line 168 of file wedgebug_opencv.cpp.
References image_t::buf, IMAGE_GRAYSCALE, IMAGE_INT16, img_cropped_info, img_left, img_right, post_disparity_crop_rect(), Ptr, and image_t::type.
Referenced by background_processes(), and background_processes_16bit().
| int sobel_OCV | ( | struct image_t * | img_input, |
| const struct image_t * | img_output, | ||
| const int | kernel_size, | ||
| const int | thr ) |
Definition at line 380 of file wedgebug_opencv.cpp.
References image_t::buf, image_t::h, IMAGE_GRAYSCALE, IMAGE_INT16, scale, transfer(), image_t::type, and image_t::w.
Referenced by background_processes(), and background_processes_16bit().
| int transfer | ( | const Mat * | from, |
| const image_t * | to ) |
Definition at line 40 of file wedgebug_opencv.cpp.
References image_t::buf, IMAGE_GRAYSCALE, IMAGE_INT16, and image_t::type.
Referenced by actuators_uavcan_actuator_status_cb(), actuators_uavcan_device_temperature_cb(), actuators_uavcan_esc_status_cb(), airspeed_uavcan_cb(), closing_OCV(), dilation_OCV(), erosion_OCV(), fuelcell_uavcan_cb(), get_transfer_id(), gps_uavcan_cb(), id_alloc_uavcan_cb(), mag_uavcan_cb(), mag_uavcan_cb2(), node_info_cb(), node_info_resp_cb(), node_status_cb(), onTransferReceived(), opening_OCV(), power_uavcan_battery_cb(), power_uavcan_circuit_cb(), range_sensor_uavcan_cb(), rc_uavcan_cb(), request_node_info(), scout_detector_uavcan_cb(), sobel_OCV(), tunnel_uavcan_cb(), uavcan_broadcast(), uavcan_request(), uavcan_response(), and uavcan_transfer().