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

Comment/rename functions in MaskScalable.cpp #40

Open daviddoria opened 13 years ago

daviddoria commented 13 years ago

What do these functions do?

RegionXywhHasAny RegionXywhHasAll RegionLtrbHasAny RegionLtrbHasAll

darrenlafreniere commented 13 years ago

These are commented in the base MaskLod class.

darrenlafreniere commented 13 years ago

It could be more descriptive though.

daviddoria commented 13 years ago

So Xywh is (corner, size) (that is topleftcornerX, topleftcornerY, width, height)

RegionXywhHasAny means "Has any pixels outside of the mask"?

RegionXywhHasAll means "All pixels are outside of the mask"?

darrenlafreniere commented 13 years ago

Any = region has any of the passed in value. All = entire region is of passed in value.

daviddoria commented 13 years ago

What are 'u', 'v', 'nu', and 'nv' in CreateLowerLodsFromHighest?