A non-transitory computer-readable storage medium comprising computer program instructions for determining residual treatments for a multimode farming machine to apply with one or more of a plurality of treatment mechanisms, the multimode farming machine applying the residual treatments as the multimode farming machine traverses a field, the computer program instructions, when executed by one or more processors, causing the one or more processors to:
- identify, using images of the field captured by an image acquisition system, a plurality of plants in the field and a plurality of substrate areas in the field;
- determine substrate characteristics for each substrate area of the plurality of substrate areas in the field;
- and
- for each substrate area of the plurality of substrate areas,
- determine a residual treatment to apply to each substrate area of the plurality of substrate areas based on the determined substrate characteristics for the substrate area;
- select, based on the determined residual treatments, one or more treatment configurations from a plurality of treatment configurations for the multimode farming machine to apply the residual treatments;
- and
- actuate one or more of the plurality of treatment mechanisms to apply the residual treatment to the substrate area using the selected one or more treatment configurations for the substrate area.