Converts a spatial frequency from an initial unit to a final unit.