Spacecraft Control Bundle 1
|
This module processes images to produce centroids. More...
#include <fsw_image_processing.h>
Public Member Functions | |
fsw_image_processing (const char *mod_name) | |
void | initialize_data () |
Create data and request the FSW_IMAGE_PROCESSING_TRIGGER. More... | |
void | initialize_data_requests () |
void | handle_event (int code) |
Protected Attributes | |
IMG Inputs | |
Data from the camera. {@ | |
CD_REQUEST_REF | centroid_camera_sim_ref |
Centroid data from the simulation camera. More... | |
CD_REQUEST_REF | frame_camera_sim_ref |
Camera frame. More... | |
IMG Outputs | |
Process the frame and output star and planet data. {@ | |
CD_CREATE_REF | star_data_ref |
Star centroid data from the image [x;y;intensity;ID]. More... | |
CD_CREATE_REF | planet_data_ref |
Planet data from the image [x;y;intensity;chord;ID]. More... | |
CD_CREATE_REF | star_image_ref |
Processed star camera frame [mxn]. More... | |
This module processes images to produce centroids.
Currently it just passes on centroids computed by the camera model. An expanded version would accept actual images.
Centroids are measured in pixels and referenced from the corner of the image. !
void fsw_image_processing::initialize_data | ( | ) |
Create data and request the FSW_IMAGE_PROCESSING_TRIGGER.
References FSW_IMAGE_PROCESSING_TRIGGER, planet_data_ref, star_data_ref, and star_image_ref.
|
protected |
Centroid data from the simulation camera.
|
protected |
Camera frame.
|
protected |
Planet data from the image [x;y;intensity;chord;ID].
Referenced by initialize_data().
|
protected |
Star centroid data from the image [x;y;intensity;ID].
Referenced by initialize_data().
|
protected |
Processed star camera frame [mxn].
Referenced by initialize_data().