OBJECT AVOIDANCE ALGORITHM
When considering a voyage to an exoplanet, it’s not unreasonable to assume that space objects (comets, asteroids, stars, planets, etc) will block the path of the spacecraft. To compensate for these, a simple object recognition algorithm is needed to tell the space craft to correct its course to avoid a collision.

AVOIDANCE OF LIGHT PRODUCING/REFLECTING OBJECTS
Since space is dark, locating light producing or light reflecting objects is really easy. Each picture taken from the camera will be processed by the computer system. In a nutshell, the image will be scanned, and all pixels above the threshold of 240 (almost pure white) will be averaged in both the x and y direction - the result of which producing the center of mass for white pixels in the image. The location of the center of mass is tracked over time, and if the position continues to remain on path with the trajectory of the space craft, it will be necessary to move.

AVOIDANCE OF DARK OBJECTS
In certain cases, objects will obstruct the path of our spacecraft which do not emit light. The method for object avoidance in this instance is similar to the thresholding technique discussed above, only an object’s position location will be given via a RADAR system.