ImageEn, unit ievision

TIEVisionImage

TIEVisionImage


Declaration


TIEVisionImage = interface(TIEVisionBase)


Description


This interface allows you to create raster images or matrices.
It is possible to perform basic input/output operations and several image processing tasks. You can also connect a TIEVisionImage to a TIEBitmap, sharing the same content.


Example


// Create empty image
image := IEVisionLib.createImage();

// Create an image from "input.jpg", resize to 100x100 and save as "output.jpg"
image := IEVisionLib.createImage('input.jpg');
image.resize(100, 100); // default interpolation = linear
image.save('output.jpg');

// Create an image of 1000x1000x24 bit
image := IEVisionLib.createImage(1000, 1000, ievUINT8, 3);

// Create an image from the TIEBitmap of a TImageEnView (sharing the content)
ImageEnView1.IEBitmap.Origin := ieboTOPLEFT;
image := IEVisionLib.createImage(ImageEnView1.IEBitmap.Width, ImageEnView1.IEBitmap.Height,
                                 ievUINT8, 3, ImageEnView1.IEBitmap.Rowlen,
                                 ImageEnView1.IEBitmap.ScanLine[0]);

// Same as previous code
image := ImageEnView1.IEBitmap.GetIEVisionImage();


Methods and Properties


  adaptiveThreshold
  addWeighted
  avg
  avgSdv
  blur
  camShift
  canny
  cmp
  convertScale
  copy
  copyFrom
  countNonZero
  create
  createAlphaMask
  DCT
  detectLines
  determinant
  DFT
  dilate
  dotProduct
  eigenVV
  equalizeHistogram
  erode
  fastNlMeansDenoisingColored
  filter2D
  findContours
  flip
  floodFill
  getAlphaMask
  getChannelFormat
  getChannels
  getColumn
  getColumns
  getDiagonal
  getHeight
  getMetadata
  getRect
  getRow
  getRowLen
  getRows
  getScanline
  getWidth
  hasAlphaMask
  houghLines
  houghLinesP
  inpaint
  inRange
  integral
  invert
  isAllWhite
  isEmpty
  LUT
  makeBorder
  matchTemplate
  matchTemplateAsMap
  max
  merge
  min
  minMax
  mulSpectrums
  mulTransposed
  norm
  operatorASSIGN
  opNot
  perspectiveTransform
  pixel_BGR8
  pixel_float32
  pixel_float64
  pixel_RGB8
  pixel_uint16
  pixel_uint8
  pyrDown
  pyrUp
  reduce
  repeatImage
  resize
  save
  scaleAdd
  setDPI
  setIdentity
  setValue
  setZero
  share
  smooth
  splitPlanes
  swap
  threshold
  transpose



See Also


  createImage