Development of an advanced gamma/hadron separation technique and application to particular gamma-ray sources with H.E.S.S.