Instantaneous frequency detection via ridge neighbor tracking