Add output for intermediate images during Gaussian pyramid building #176
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
During the creation of the Gaussian pyramid, PopSift can write a sequence of PGM images to a folder named dir-octave for debugging if its config parameter logMode is set to All. While working on a new branch, the need for additional output appeared. It keeps the intermediate images that are created in each horizontal sweeps (but before the each vertical) of pyramid building as well. This new output is written to a folder called dir-interm.
Also three tiny images for debugging have been added in the testImages folder.
Features list
Implementation remarks
The new code is identical to the code that writes the Gaussian pyramid to disk, just that it writes the cudaArray _intm of each Octave object instead of the cudaArray _data.