save used contrast enhancement algorithm in private class member (follow up 5ecb26810a)