X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FexColorToRGB.cxx;h=583d44f6e60bbe682550c34a8d53b46dd3195d1f;hb=90c918a795e4a1892af2cd120eb20d6311499387;hp=55585731466142cdb76b59af99e5a56c84884e3b;hpb=f3cc252fad08c3e8dbc395f2ca7cabf47bf95302;p=gdcm.git diff --git a/Example/exColorToRGB.cxx b/Example/exColorToRGB.cxx index 55585731..583d44f6 100644 --- a/Example/exColorToRGB.cxx +++ b/Example/exColorToRGB.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: exColorToRGB.cxx,v $ Language: C++ - Date: $Date: 2005/08/30 15:13:06 $ - Version: $Revision: 1.6 $ + Date: $Date: 2005/09/06 11:10:03 $ + Version: $Revision: 1.7 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -81,7 +81,9 @@ int main(int argc, char *argv[]) // We need a gdcm::FileHelper, since we want to load the pixels gdcm::FileHelper *fh = new gdcm::FileHelper(f); - // (unit8_t DOESN'T mean it's mandatory for the image to be a 8 bits one) + // uint8_t DOESN'T mean it's mandatory for the image to be a 8 bits one ! + // It's just for prototyping. + // Feel free to cast it. uint8_t *imageData = fh->GetImageData();