Add test cases for mask calculatation but most of them are failing ...
Add test cases for mask calculatation but most of them are failing ...

image-js/core,image-js/image-js,image-js/ij,image-js/ij,image-js/core,image-js/image-js,image-js/ij