A method for adjusting a dynamic range of an image, applied in a terminal, the method comprising: decoding a user-selected image to be adjusted into YUV data; performing, according to a preset grouping strategy and the YUV data, a region grouping on the image to be adjusted to obtain a Y component reference value of at least one region; adjusting, according to an adjustment coefficient, the YUV data of each of the at least one region to obtain the adjusted YUV data of each region, wherein the adjustment coefficient is obtained based on the Y component reference value; and acquiring, based on the adjusted YUV data, an image subjected to dynamic range adjustment; wherein performing, according to the preset grouping strategy and the YUV data, the region grouping on the image to be adjusted comprises: grouping Y components of the YUV data, which belong to a same pixel unit, into one group to obtain at least one Y component group, wherein all Y component groups form a matrix of groups, and a pixel unit comprises a group of Y pixel data sharing U and V components based on the YUV data; acquiring a Y component value of the jth Y component group, where j represents a group number which is a positive integer; acquiring an absolute value of the difference between the Y component value of the jth Y component group and a Y component value of a Y component group adjacent to the jth Y component group; and performing the region grouping on elements in the matrix of the groups according to a preset threshold and the absolute value of the difference between the Y component value of each group and a Y component value of each Y component group adjacent to the group. decoding a user-selected image to be adjusted into YUV data; performing, according to a preset grouping strategy and the YUV data, a region grouping on the image to be adjusted to obtain a Y component reference value of at least one region; adjusting, according to an adjustment coefficient, the YUV data of each of the at least one region to obtain the adjusted YUV data of each region, wherein the adjustment coefficient is obtained based on the Y component reference value; and acquiring, based on the adjusted YUV data, an image subjected to dynamic range adjustment; wherein performing, according to the preset grouping strategy and the YUV data, the region grouping on the image to be adjusted comprises: grouping Y components of the YUV data, which belong to a same pixel unit, into one group to obtain at least one Y component group, wherein all Y component groups form a matrix of groups, and a pixel unit comprises a group of Y pixel data sharing U and V components based on the YUV data; acquiring a Y component value of the jth Y component group, where j represents a group number which is a positive integer; acquiring an absolute value of the difference between the Y component value of the jth Y component group and a Y component value of a Y component group adjacent to the jth Y component group; and performing the region grouping on elements in the matrix of the groups according to a preset threshold and the absolute value of the difference between the Y component value of each group and a Y component value of each Y component group adjacent to the group. grouping Y components of the YUV data, which belong to a same pixel unit, into one group to obtain at least one Y component group, wherein all Y component groups form a matrix of groups, and a pixel unit comprises a group of Y pixel data sharing U and V components based on the YUV data; acquiring a Y component value of the jth Y component group, where j represents a group number which is a positive integer; acquiring an absolute value of the difference between the Y component value of the jth Y component group and a Y component value of a Y component group adjacent to the jth Y component group; and performing the region grouping on elements in the matrix of the groups according to a preset threshold and the absolute value of the difference between the Y component value of each group and a Y component value of each Y component group adjacent to the group.