Finding intensity of Vertical bars in a Image

Hi,
You can try to sum over line and column and I hope you will find 5 regions