diff options
author | Juan Gomez Luna <juan.gomez@safari.ethz.ch> | 2021-06-16 19:46:05 +0200 |
---|---|---|
committer | Juan Gomez Luna <juan.gomez@safari.ethz.ch> | 2021-06-16 19:46:05 +0200 |
commit | 3de4b495fb176eba9a0eb517a4ce05903cb67acb (patch) | |
tree | fc6776a94549d2d4039898f183dbbeb2ce013ba9 /HST-S/baselines/gpu/README | |
parent | ef5c3688c486b80a56d3c1cded25f2b2387f2668 (diff) |
PrIM -- first commit
Diffstat (limited to 'HST-S/baselines/gpu/README')
-rw-r--r-- | HST-S/baselines/gpu/README | 24 |
1 files changed, 24 insertions, 0 deletions
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). |