Yes, you should change the canonical tags to point to the main category pages, like /dining-table.html.
Why?
When filters (like color or size) change the URL, they create many similar pages.
If Google sees them as separate pages, they compete with each other, which can hurt your rankings...