Secret image sharing based on error-correcting codes