The weak string filter smoothes out noise involved in a given data while it detects step edges inherent to the original noise free data. However, a steep ramp in intensity often cannot be preserved by this filter. The weak rod filter which contains the second spatial difference in its regularizer, solves this problem, and can be realized by a double layer resistive network.