int[][] separate(int[][] input, int[][] itag) { return and(maxDilate(maxErose(input, itag),itag), input); }