patches: entropy computation; remove DC component of patches