The use of texture analysis for hydrogel water content measurements