darrenlafreniere / lafarren-image-completer

Implementation of the research titled: "Image Completion Using Efficient Belief Propagation via Priority Scheduling and Dynamic Pruning"
http://www.lafarren.com/image-completer/
GNU General Public License v3.0
32 stars 18 forks source link

Mask should be a single channel #19

Closed daviddoria closed 13 years ago

daviddoria commented 13 years ago

Currently the Host stores a HostImage for the input image and a HostImage (same type) for the mask.

AppCmdHostImage m_inputImage;
AppCmdHostImage m_maskImage;

The Mask should be a separate data structure. In fact, there is already a Mask class - why is this not used?

darrenlafreniere commented 13 years ago

Done.