Random Page Shuffle

1 개요

소스 이미지의 페이지를 랜덤하게 섞는 알고리즘 입니다.

2 알고리즘 상세 설명

Before Shuffle Pages After Shuffle Pages
Before Image After Image
Fig. Random Page Shuffle

소스 이미지에서 설정한 페이지 영역에서 페이지 순서를 랜덤하게 섞습니다.

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

4 예제 코드

CFLImage fliSourceImage;
CFLImage fliDestinationImage;

CRandomPageShuffle randomPageShuffle;

randomPageShuffle.SetSourceImage(fliSourceImage);
randomPageShuffle.SetSelection(0, -1);

randomPageShuffle.Execute();
CFLImage fliSourceImage = new CFLImage();
CFLImage fliDestinationImage = new CFLImage();

CRandomPageShuffle randomPageShuffle = new CRandomPageShuffle();

randomPageShuffle.SetSourceImage(ref fliSourceImage);
randomPageShuffle.SetSelection(0, -1);

randomPageShuffle.Execute();
fliSourceImage = CFLImage()
fliDestinationImage = CFLImage()

randomPageShuffle = CRandomPageShuffle()

randomPageShuffle.SetSourceImage(fliSourceImage)
randomPageShuffle.SetSelection(0, -1)

randomPageShuffle.Execute()