Skip to content

Extends the functionalities of Resize Operator

Maxence Naud requested to merge feat_enhance_operator_resize_support into dev

Context

issue : aidge#181

This operator is a temporary working solution. Many options have been introduced and are not yet fully supported.

Modified files

  • Tensor.hpp
  • interpolation.hpp/cpp
  • Resize.hpp/cpp

Detailed major modifications

  • add interpolation.hpp, interpolation.cpp files to gather some interpolation features
  • add Resize.hpp and Resize.cpp
  • add static functions Tensor::toIndex() and Tensor::toCoord to convert coortinates to a flat index and conversly

TODO

  • Simplify the structure of interpolation, remove Interpolation::retrieveNeighbours
  • Handle ROI
  • Seperate interpolation 'mode' and 'nearest_mode' that are merged in Interpolation::Mode
Edited by Maxence Naud

Merge request reports

Loading