Extraction of features or characteristics of the image {by performing operations within image blocks or by using histograms}