1.1 Random Image Generator

1 개요

이미지에 랜덤 값을 생성하는 알고리즘입니다.

2 알고리즘 상세 설명

입력 이미지에 랜덤 값을 생성하여 입력합니다.

알고리즘 동작 결과
입력 입력 이미지 결과 결과 이미지
실행 결과

다중 채널의 경우 각 채널에 대하여 알고리즘이 적용됩니다.

3 파라미터 설정 및 사용 방법

4 예제 코드

// 알고리즘 객체 생성합니다.
CRandomImageGenerator RandomImageGenerator;

// 이미지를 입력합니다.
CFLImage fliSourceImage;
RandomImageGenerator.SetSourceImage(fliSourceImage);

// Random 생성 방식을 설정합니다.
CRandomImageGenerator::ERandomFunction eRandomFunction;
RandomImageGenerator.SetRandomFunction(eRandomFunction);

// 알고리즘 실행
RandomImageGenerator.Execute();
// 알고리즘 객체 생성합니다.
CRandomImageGenerator RandomImageGenerator = new CRandomImageGenerator();

// 이미지를 입력합니다.
CFLImage fliSourceImage = new CFLImage();
RandomImageGenerator.SetSourceImage(ref fliSourceImage);

// Random 생성 방식을 설정합니다.
CRandomImageGenerator.ERandomFunction eRandomFunction = new CRandomImageGenerator.ERandomFunction();
RandomImageGenerator.SetRandomFunction(eRandomFunction);

// 알고리즘 실행
RandomImageGenerator.Execute();