[Insight-developers] DICOM UID generation

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Jan 6 10:43:18 EST 2005


Jim,

> My main concern with this UID generation algorithm is that 
> it takes up 15 characters (16 with the trailing dot) to
> add the encoding of "gdcm" into the uid. This seems like
> a lot of characters and all it does is ensure that gdcm
> uids are REALLY REALLY unique from the other uids that 
> may be generated from that root. But the ip address and 
> datestamp/timestamp should make the uid's unique enough.

Make sense.

> You also want to transform the ip address somehow so that 
> the UID cannot be easily tracked back to a particular
> machine.  Having an IP address in the UID could be 
> an issue with ensuring anonymonization of data.

Anything particular in mind. Or I can just use the GDCM encoding to 
scramble the IP adress:

(IP + 147.144.143.155) modulo 255.255.255.255


Mathieu




More information about the Insight-developers mailing list