From ec1eb24c5dbca3152cffa17d8bba7ba9cc1bea9a Mon Sep 17 00:00:00 2001 From: Tomas Farago Date: Mon, 27 Sep 2021 13:32:15 +0200 Subject: stack: force nonfactor generation If the number of images in the stack hadn't been a divisor of the number of input images, the last images would have been dropped. This makes sure all images are processed and fills the last positions of the stack (when the total number of stacked images starts to exceed the number of input images) with arbitrary previous images. Fixes #210. --- docs/filters.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/filters.rst b/docs/filters.rst index 5227f3b..f2b32ec 100644 --- a/docs/filters.rst +++ b/docs/filters.rst @@ -751,7 +751,9 @@ Stacking .. gobj:class:: stack Symmetrical to the slice filter, the stack filter stacks two-dimensional - input. + input. If ``number`` is not a divisor of the number of input images, the + last produced stack at index which starts to exceed the number of input + images will contain arbitrary images from the previous iterations. .. gobj:prop:: number:uint -- cgit v1.2.1