Skip to content
  • Roland Levillain's avatar
    Fix two bugs in mln/world/binary_2d/subsample.hh. · 074b98c0
    Roland Levillain authored
    	* mln/world/binary_2d/subsample.hh
    	(world::binary_2d::subsample(const image2d<bool>&, unsigned)):
    	Properly initialize (and deallocate) the sliding window (array of
    	pointers).
    	Fix the size of	the output image.
    	Have the declaration of this function match its definition.
    	* tests/world/binary_2d/subsample.cc: New test.
    	* tests/world/binary_2d/Makefile.am
    	(check_PROGRAMS): Add subsample.
    	(MOSTLYCLEANFILES): Add subsample-small.pgm.
    074b98c0
To find the state of this project's repository at the time of any of these versions, check out the tags.