Perhaps by a cropping layer? Or with a filter of size equal to image size?
Group option is something entirely different, relating to number of filters in a conv layer. If you have num_output equal to 10, it means you convolve your input blob with 10 individual filters, since group param is 1 by default, meaning you only have 1 group of kernels. However, if you set group to 2, you no longer have 10 kernels, but 2 groups of 5 kernels - this reduces the number of weights in your layer. It's as if you split your input into 2 layers, convolved them with a conv layer with 5 outputs and concatenated the result. Set group and num_output to the same value, and effectively you're convolving your input with 1 kernel, each input channel individually (used in deconv upscaling, for example).