useDynLib(EBImage)

importFrom("methods", "Arith")
importFrom("methods", "show")
importFrom("graphics", "image")
importFrom("graphics", "hist")
importFrom("stats", "median")

export(
  Image, is.Image, stopIfNotImage, display,
  TrueColor, Grayscale, morphKern, print.Image, print.IndexedImage,
  median.Image, drawfont, readImage, chooseImage,

  ### deprecated
  read.image, choose.image
)
exportClasses(
  Image, IndexedImage
)
exportMethods(
  copy, animate, header, assert, combine, tile, writeImage,
  show, "[", channel, as.Image, Arith,

  colorMode, "colorMode<-",
  fileName, "fileName<-",
  compression, "compression<-",
  resolution, "resolution<-",
  imageData, "imageData<-",

  blur, gblur, contrast, denoise, despeckle, edge, enhance, equalize,
  cgamma, mediansmooth, noise, resize, rotate, resample, segment,
  sharpen, umask, thresh, athresh, cthresh, affinet, modulate, negate,
  normalize, normalize2, fill, flip, flop, erode, dilate, opening, closing,
  distmap, watershed, paintObjects,
  matchObjects, stackObjects, rmObjects, propagate, image, show, hist,
  cmoments, smoments, rmoments, moments,

  drawtext, 
    
  features, getFeatures, hullFeatures, edgeProfile, edgeFeatures,
  haralickMatrix, haralickFeatures, zernikeMoments,
  
  ### deprecated
  write.image, hull.features, edge.profile, edge.features,
  haralick.matrix, haralick.features, zernike.moments
)

