Determining the initial states in forward-backward filtering

Forward-backward filtering is a common tool in off-line filtering for implementing noncausal filters. Filtering first forward and then backward or the other way around does not generally give the same result. Here, we propose a method to choose the initial state to obtain uniqueness and to remove transients at both ends.