new detector Mar3450 with automatic mask calculation