Super-resolution imaging of P-selectin in platelets together with dictionary learning allow specifically activated platelets to be identified in an automatic objective manner.