public Channel[] quadSplit() {
if(!(Utils.isPowerOf2(width) && Utils.isPowerOf2(height))) throw new Exception("only power of 2 sized channels");
Channel channel1 = this.copy().crop(0, 0, (width>>1) - 1, (height>>1) - 1);
Channel channel2 = this.copy().crop(width>>1, 0, width - 1, (height>>1) - 1);
Channel channel3 = this.copy().crop(0, height>>1, (width>>1) - 1, height - 1);
Channel channel4 = this.copy().crop(width>>1, height>>1, width - 1, height - 1);
return new Channel[]{channel1, channel2, channel3, channel4};
}