From 3de4b495fb176eba9a0eb517a4ce05903cb67acb Mon Sep 17 00:00:00 2001 From: Juan Gomez Luna Date: Wed, 16 Jun 2021 19:46:05 +0200 Subject: PrIM -- first commit --- HST-S/baselines/gpu/README | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 HST-S/baselines/gpu/README (limited to 'HST-S/baselines/gpu/README') diff --git a/HST-S/baselines/gpu/README b/HST-S/baselines/gpu/README new file mode 100644 index 0000000..4d6fdcc --- /dev/null +++ b/HST-S/baselines/gpu/README @@ -0,0 +1,24 @@ +Histogram - input partition (HST) + +Compilation instructions: + + make + +Execution instructions + + ./hsti -n 1006632960 -g 512 + +For more options: + + ./hsti -h + + +Note: +The input folder contains one image from Van Hateren's natural image database +(http://www.kyb.tuebingen.mpg.de/?id=227). Image pixels are 12-bit depth. Thus, +for calculation of the B-bin histogram of an image, the corresponding histogram +bin is computed as ((pixel * B) >> 12). +Monochrome images from other databases or synthetic images can also be used. The +read input function (in main.cpp) might need to be changed accordingly. If image +pixels are b-bit depth and the histogram contains B bins, the histogram bin will +be computed as ((pixel * B) >> b). -- cgit v1.2.3