add save pixel histogram to createftdb.m