Skip to content

Commit ff614cb

Browse files
tbirdsodzenanz
authored andcommitted
BUG: Initialize image buffer in Inverse FFT example
1 parent 3f8d0a2 commit ff614cb

File tree

1 file changed

+1
-0
lines changed
  • src/Filtering/FFT/ComputeInverseFFTOfImage

1 file changed

+1
-0
lines changed

src/Filtering/FFT/ComputeInverseFFTOfImage/Code.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
image = float_image_type.New(Regions=region)
3939
image.Allocate()
40+
image.FillBuffer(0)
4041

4142
# Make a square
4243
image[40:100, 40:100] = 100

0 commit comments

Comments
 (0)