Adding files to the project
We need to add several files to our Eclipse project in order to create new types (that is, interfaces and classes) and to link to a new library, Apache Commons Math
. The following are the new types that we want to create:
com.nummist.secondsight.filters.Filter
: It is an interface representing a filter that can be applied to an image.com.nummist.secondsight.filters.NoneFilter
: It is a class representing a filter that does nothing. It implements theFilter
interface.com.nummist.secondsight.filters.convolution.StrokeEdgesFilter
: It is a class representing a filter that draws heavy-black lines atop edge regions. It implements theFilter
interface.com.nummist.secondsight.filters.curve.CurveFilter
: It is a class representing a filter that may apply a separate curvilinear transformation to each color channel in an image. (It is like Curves in Photoshop or Gimp.) It implements theFilter
interface.com.nummist.secondsight.filters.curve.CrossProcessCurveFilter
: It is...