Raster Image Classification with Earth Package

Dear all,
I am trying to classsify Raster Image (Landsat satellite image) using Multivariate Adaptive Regression Splines - MARS. Can Earth package run on Raster Image.
Do you have any resources you can recommend on this topic?
Thank you, have great day.