Skip to content

Conversation

griwodz
Copy link
Member

@griwodz griwodz commented Oct 14, 2025

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

  • In logMode==All, write intermediate images during Gaussian pyramid creation to disk
  • Add 3 tiny test images.

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.

@griwodz griwodz self-assigned this Oct 14, 2025
@griwodz griwodz requested a review from simogasp October 14, 2025 06:40
@griwodz griwodz added this to the v0.10 milestone Oct 14, 2025
@simogasp simogasp modified the milestones: v0.10, v0.11.0 Oct 14, 2025
Copy link
Member

@simogasp simogasp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a tiny remark :-)

POP_CUDA_FATAL_TEST(err, "cudaMemcpy3D failed: ");

for( int l = 0; l<_levels; l++ ) {
Plane2D_float p(width, height, &array[l*width*height], width * sizeof(float));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just minor, canp be const?
Normally write_plane2Dunscaled should just write it to a file without modifying it. (sorry cannot check atm...)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conceptually, it can definitely be const. I’ll try and see if the underlying plane code needs updates for that.

@griwodz griwodz merged commit 06313cb into develop Oct 16, 2025
5 checks passed
@griwodz griwodz deleted the dev/add-test-images branch October 16, 2025 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants