Skip to content

Introduce Sensor scan_rate#439

Open
Cybis320 wants to merge 1 commit intoCroatianMeteorNetwork:prereleasefrom
Cybis320:Fix-Rolling-Shutter
Open

Introduce Sensor scan_rate#439
Cybis320 wants to merge 1 commit intoCroatianMeteorNetwork:prereleasefrom
Cybis320:Fix-Rolling-Shutter

Conversation

@Cybis320
Copy link
Copy Markdown
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

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