refactor pixel extraction ui.
     Add pattern sub dialog after directory selection
refactor PixExOp