Spacecraft Control Bundle 1
fsw_image_processing Class Reference

This module processes images to produce centroids. More...

#include <fsw_image_processing.h>

Inheritance diagram for fsw_image_processing:

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...
 

Detailed Description

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. !

Member Function Documentation

◆ initialize_data()

void fsw_image_processing::initialize_data ( )

Member Data Documentation

◆ centroid_camera_sim_ref

CD_REQUEST_REF fsw_image_processing::centroid_camera_sim_ref
protected

Centroid data from the simulation camera.

◆ frame_camera_sim_ref

CD_REQUEST_REF fsw_image_processing::frame_camera_sim_ref
protected

Camera frame.

◆ planet_data_ref

CD_CREATE_REF fsw_image_processing::planet_data_ref
protected

Planet data from the image [x;y;intensity;chord;ID].

Referenced by initialize_data().

◆ star_data_ref

CD_CREATE_REF fsw_image_processing::star_data_ref
protected

Star centroid data from the image [x;y;intensity;ID].

Referenced by initialize_data().

◆ star_image_ref

CD_CREATE_REF fsw_image_processing::star_image_ref
protected

Processed star camera frame [mxn].

Referenced by initialize_data().


The documentation for this class was generated from the following files: