1. A method for applying mechanical ventilation to a lung tissue of an animal, the method comprising: providing a 3-dimensional density map of a portion of the lung tissue, said 3-dimensional density map being obtained by means of computed tomography and being formed by a plurality of voxels, the method further comprising, for each voxel of said 3-dimensional map considered in turn as a central voxel; identifying a space surrounding said central voxel and containing a group of peripheral voxels, for each peripheral voxel of said group, calculating a value proportional to the ratio or the difference between the density of said peripheral voxel and the density of said central voxel, thus obtaining a plurality of values, and calculating the maximum value and/or the minimum value and/or the average value and/or a statistical partitioning value of said values, thus obtaining a local indicator of inhomogeneity of said portion of animal lung tissue in correspondence to said central voxel; and applying mechanical ventilation to the lung tissue of the animal based on the obtained local indicator of inhomogeneity.