class_docstr: InterpolationPropertyHolder
  
  Adds interpolation property to a class and validates it using the allowed interpolations from constants.
  
  Parameters
  ----------
  interpolation : None or str or tuple
      Interpolation mode. Inheritance can be specified as the second argument of the `interpolation` tuple.
class_docstr_tok: ["InterpolationPropertyHolder","Adds","interpolation","property","to","a","class","and","validates","it","using","the","allowed","interpolations","from","constants",".","Parameters","--","--","--","--","--","interpolation",":","None","or","str","or","tuple","Interpolation","mode",".","Inheritance","can","be","specified","as","the","second","argument","of","the","`","interpolation","`","tuple","."]
code: def __init__(self, interpolation=None):
      super(InterpolationPropertyHolder, self).__init__()
      self.interpolation = validate_parameter(
          interpolation, ALLOWED_INTERPOLATIONS, "bilinear"
      )
  
imports: import copy
  import random
  from abc import ABCMeta, abstractmethod
  import cv2
  import numpy
  from solt.utils import Serializable
  from solt.constants import ALLOWED_INTERPOLATIONS, ALLOWED_PADDINGS
  from ._data import DataContainer, Keypoints
  from solt.utils import img_shape_checker, validate_parameter
label_desc: Use image node_id 1 to create a new InterpolationPropertyHolder object from inherited base classes: object with example: obj = InterpolationPropertyHolder(interpolation)