I found my own answer, shaing the result here:
You have to create another blend between them, this time you subtract the stones from the mortar, this will give you positive values only where the mortar is higher, then you use a histogram scan with position and contrast to 1 and you get your binary mask
