Contents.m 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. % matlabPyrTools: Image and Multi-scale Pyramid Tools
  2. % Version: 1.4, December-2009.
  3. % Created: Early Spring, 1996.
  4. % Author: Eero Simoncelli, eero.simoncelli@nyu.edu
  5. %
  6. % See README file for brief description.
  7. % See ChangeLog file for latest modifications.
  8. % See TUTORIALS subdirectory for demonstrations.
  9. % Type "help matlabPyrTools" to see this file as documentation.
  10. % Type "help <command-name>" for documentation on individual commands.
  11. % -----------------------------------------------------------------
  12. % Synthetic Images (matrices):
  13. % mkImpulse - Make an image containing an impulse.
  14. % mkRamp - Make an image containing a ramp function.
  15. % mkR - Make an image containing distance from the origin.
  16. % mkAngle - Make an image containing angle about origin.
  17. % mkDisc - Make an image containing a disk image.
  18. % mkGaussian - Make an image containing a Gaussian function.
  19. % mkZonePlate - Make an image containing a zone plate (cos(r^2)).
  20. % mkAngularSine - Make an image containing an angular sine wave (pinwheel).
  21. % mkSine - Make an image containing a sine grating.
  22. % mkSquare - Make an image containing a square grating.
  23. % mkFract - Make an image containing fractal (1/f) noise.
  24. %
  25. % Point Operations:
  26. % clip - clip values to a range.
  27. % pointOp - Lookup table (much faster than interp1) [MEX file]
  28. % histo - Efficient histogram computation [MEX file]
  29. % histoMatch - Modify matrix elements to match specified histogram stats.
  30. %
  31. % Convolution (first two are significantly faster):
  32. % corrDn - Correlate & downsample with boundary-handling [MEX file]
  33. % upConv - Upsample & convolve with boundary-handling [MEX file]
  34. % blurDn - Blur and subsample a signal/image.
  35. % upBlur - Upsample and blur a signal/image.
  36. % blur - Multi-scale blurring, calls blurDn and then upBlur.
  37. % cconv2 - Circular convolution.
  38. % rconv2 - Convolution with reflected boundaries.
  39. % zconv2 - Convolution assuming zeros beyond image boundaries.
  40. %
  41. % General pyramids:
  42. % pyrLow - Access lowpass subband from (any type of) pyramid
  43. % pyrBand - Access a subband from (any type of) pyramid
  44. % setPyrBand - Insert an image into (any type of) pyramid as a subband
  45. % pyrBandIndices - Returns indices for given band in a pyramid vector
  46. % maxPyrHt - compute maximum number of scales in a pyramid
  47. %
  48. % Gaussian/Laplacian Pyramids:
  49. % buildGpyr - Build a Gaussian pyramid of an input signal/image.
  50. % buildLpyr - Build a Laplacian pyramid of an input signal/image.
  51. % reconLpyr - Reconstruct (invert) the Laplacian pyramid transform.
  52. %
  53. % Separable orthonormal QMF/wavelet Pyramids:
  54. % buildWpyr - Build a separable wavelet representation of an input signal/image.
  55. % reconWpyr - Reconstruct (invert) the wavelet transform.
  56. % wpyrBand - Extract a single band of the wavelet representation.
  57. % wpyrLev - Extract (packed) subbands at a particular level
  58. % wpyrHt - Number of levels (height) of a wavelet pyramid.
  59. %
  60. % Steerable Pyramids:
  61. % buildSpyr - Build a steerable pyramid representation of an input image.
  62. % reconSpyr - Reconstruct (invert) the steerable pyramid transform.
  63. % buildSFpyr - Build a steerable pyramid representation in the Fourier domain.
  64. % reconSFpyr - Reconstruct (invert) the (Fourier domain) steerable pyramid transform.
  65. % spyrBand - Extract a single band from a steerable pyramid.
  66. % spyrHigh - Highpass residual band.
  67. % spyrLev - A whole level (i.e., all images at a given scale) of a steerable pyramid.
  68. % spyrHt - Number of levels (height) of a steerable pyramid.
  69. % spyrNumBands - Number of orientation bands in a steerable pyramid.
  70. %
  71. % Steerable filters / derivatives:
  72. % imGradient - Compute gradient of image using directionally accurete filters.
  73. % steer - Steer filters (or responses).
  74. % steer2HarmMtx - Construct a matrix mapping direcional basis to angular harmonics.
  75. %
  76. % Filters:
  77. % binomialFilter - returns a filter of binomial coefficients.
  78. % namedFilter - some typical Laplacian/Wavelet pyramid filters
  79. % spNFilters - Set of Nth order steerable pyramid filters.
  80. % derivNFiltersS - Matched set of S-tap 1D derivatives, orders 0 to N.
  81. %
  82. % Display:
  83. % showIm - Display a matrix (real or complex) as grayscale image(s).
  84. % Displays dimensions, subsampling, and range of pixel values.
  85. % showLpyr - Display a Laplacian pyramid.
  86. % showWpyr - Display a separable wavelet pyramid.
  87. % showSpyr - Display a steerable pyramid.
  88. % lplot - "lollipop" plot.
  89. % nextFig - Make next figure window current.
  90. % pixelAxes - Make image display use an integer number of pixels
  91. % per sample to avoid resampling artifacts.
  92. %
  93. % Statistics (for 2D Matrices):
  94. % range2 - Min and max of image (matrix) [MEX file]
  95. % mean2 - Sample mean of an image (matrix).
  96. % var2 - Sample variance of an image (matrix).
  97. % skew2 - Sample skew (3rd moment / variance^1.5) of an image (matrix).
  98. % kurt2 - Sample kurtosis (4th moment / variance^2) of an image (matrix).
  99. % entropy2 - Sample entropy of an image (matrix).
  100. % imStats - Report sample statistics of an image, or pair of images.
  101. %
  102. % Miscellaneous:
  103. % pgmRead - Load a "pgm" image into a MatLab matrix [try einstein.pgm,feynman.pgm]
  104. % pgmWrite - Write a MatLab matrix to a "pgm" image file.
  105. % shift - circular shift a 2D matrix by an arbitrary amount.
  106. % vectify - pack matrix into column vector (i.e., function to compute mtx(:)).
  107. % ifftshift - inverse of MatLab's FFTSHIFT (differs for odd-length dimensions)
  108. % rcosFn - return a lookup table of a raised-cosine threshold fn.
  109. % innerProd - Compute M'*M efficiently (i.e., do not copy) [MEX file]