Detection of spatial pattern through independence of thinned processes