X-ray inspection systems for flexible product design and optimum quality assurance