I do not agree with the propaganda about whole grains being healthy. Whole grains have more contaminants and more anti-nutrients, e.g. phytic acid.
Whole grains would be healthier in comparison with white flour or white rice only for someone who would eat nothing else, and even then they would not be healthy enough.
A healthy diet should include processed grains like white flour or white rice as a source of cheap proteins and of energy and it should also include some sources of healthy fat and many other sources for the nutrients that are necessary only in small quantities, like vitamins, minerals or proteins rich in lysine (which is insufficient in cereals). Whole-grain products have inflated prices, while a combination of e.g. white flour with various vegetables is simultaneously cheaper and healthier.
Relying on whole grains to provide what is missing in white flour or white rice is completely inefficient and it also adds the risk of an excessive intake of contaminants.
Plant food is biologically active in ways that animal products are not, and I think people who eat exclusively meat as a source of protein are missing out on a lot of opportunity from the chemical activity of plants that has been shown to be health promoting.
Whole foods do have more antinutrients but in studies I've seen most authors conclude that the benefits greatly outweigh the risks. I agree that I am concerned about the metals in whole foods though; and careful sourcing is important (and even then sometimes insufficient).
Seeds, like those of cereals or of legumes, are a necessary part of food because they are the only part of the plants with high content of proteins.
Because of their disadvantage of also concentrating pollutants, it is preferable to use them mainly as a source of proteins and starch, which does not require the use of whole grains, and to get any desirable phytochemicals from other parts of plants.
In the case of oily seeds, the extracted oils (if they are obtained by cold pressing or supercritical carbon dioxide extraction) contain most of the phytochemicals but much less of the heavy metals. For instance, cold-pressed sunflower oil is a better source of phytochemicals than raw sunflower seeds, because the latter, like cocoa, have frequently high contents of lead and cadmium.
So there are ways of processing that improve the quality of the food ingredients. The kinds of processing that are bad are typically those which add undesirable substances to food, not those which remove undesirable substances from food.
there's also where exactly you draw the line for processing. fermentation is like the oldest food preservation method we have (kimchi, cheese): is that processing? the raw diet people even believe cooking of any time is processing.
This kind of processing is always good.
The kind of processing that is bad either adds to food substances that are not food, e.g. conservants or colorants, or it destroys useful components of the food, like vitamins or unsaturated fatty acids, by heating or other harsh treatments.
The useful part of the grains, which cannot be obtained from other sources at a similar price, are the proteins and the starch, which are needed by a human in large quantities daily. Everything else that is contained in the whole grains can be found in countless other vegetables that are better sources than the whole grains.