perlin noise image generator for OpenCV.
#include "PerlinNoise.h"
#include <opencv2/highgui.hpp>
int main(int argc, char* argv[])
{
cv::Mat perlin_noise_img = CreatePerlinNoiseImage(cv::Size(320, 240));
cv::imshow("perlin_noise_img", perlin_noise_img);
cv::waitKey(0);
return 0;
}
- Improved Noise reference implementation (Ken Perlin)
cv_perlin_noise uses the following libraries.