private Histogram createHist() { lock (histLcok) { if (_hist != null) return _hist; _hist = (new ImageStatistics(_imGray)).Gray; return _hist; } }