cars.applications.grid_generation.transform_grid

Grids module: contains functions used for grid transformation

Functions

transform_grid_func(grid, resolution[, right])

Transform the grid for low res resampling

scale(key, value, grid, resolution)

Scale attributes by the resolution

Module Contents

cars.applications.grid_generation.transform_grid.transform_grid_func(grid, resolution, right=False)[source]

Transform the grid for low res resampling

Parameters:
  • grid (cars_dataset) – the grid

  • resolution (int) – the resolution for the resampling

cars.applications.grid_generation.transform_grid.scale(key, value, grid, resolution)[source]

Scale attributes by the resolution