useDynLib(aws, .registration = TRUE, .fixes = "C_")
if(capabilities("X11")) importFrom(grDevices,X11.options)
if(capabilities("aqua"))  importFrom(grDevices,quartz.options)
  import("methods","gsl","awsMethods")
  importFrom("gsl", "hyperg_1F1")
  importFrom("grDevices", "gray", "grey")
  importFrom("graphics", "axis", "contour", "image", "lines", "mtext",
             "par", "title","plot")
  importFrom("stats", "IQR", "coefficients", "cor", "dnorm", "fft", "lm",
             "median", "mvfft", "nextn", "pchisq", "qchisq", "qnorm",
             "quantile", "rbinom", "rchisq", "rexp", "rnorm", "rpois",
             "sd", "cov", "var", "prcomp")
exportClasses("aws","awssegment","kernsm","ICIsmooth")
exportMethods("extract","print","summary","show","plot","risk")
export(aws,lpaws,aws.irreg,aws.gaussian,aws.segment,paws,pawsm)
export(vaws,vawscov,vpaws,vpawscov)
export(awsdata,binning)
export(awstestprop, pawstestprop, awsweights)
export(kernsm,ICIsmooth,ICIcombined)
export(TV_denoising, TGV_denoising, TV_denoising_colour, TGV_denoising_colour)
export(qmeasures)
export(nlmeans)
