Skip to content

Conversation

@Cybis320
Copy link
Contributor

Introduce configurable sensor scan_rate for improved rolling shutter correction.

This PR enhances our rolling shutter correction by introducing a configurable scan_rate parameter:

  1. Add scan_rate to config:

    • Allow both fractional (e.g., "1/30") and decimal (e.g., "0.0333333") inputs in seconds
  2. Update rolling shutter correction function:

    • Modify correctRollingShutterTemporal to use the configured scan_rate:
# Compute the time offset in fractional frames
delta_t = (fps*scan_rate)*(y_centr/n_rows)

# Compute the corrected timestamp
fr_corrected = frame + delta_t

@Cybis320 Cybis320 requested a review from dvida September 30, 2024 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant