view Database/WSI/NOTES.txt @ 425:644a3248b69d Orthanc-1.9.6

Added tag Orthanc-1.9.5 for changeset 934f505677da
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 Jul 2021 11:00:17 +0200
parents 5083a686a8a9
children
line wrap: on
line source

Create a small image pyramid
----------------------------

./OrthancWSIDicomizer --pyramid=1 --smooth=1 --tile-width=64 --tile-height=64 --compression=jpeg ~/Subversion/orthanc-tests/Database/Lena.png 
./OrthancWSIDicomToTiff 93463fca-b7a90ce3-e77d1d29-bd1c94f9-5aa91536 LenaColorJpegYCbCr.tiff



./OrthancWSIDicomizer --pyramid=1 --smooth=1 --tile-width=64 --tile-height=64 --compression=jpeg ~/Subversion/orthanc-tests/Database/LenaGrayscale.png 
./OrthancWSIDicomToTiff 93463fca-b7a90ce3-e77d1d29-bd1c94f9-5aa91536 LenaGrayscaleJpeg.tiff




Manually change photometric interpretation
------------------------------------------

cp LenaColorJpegYCbCr.tiff LenaColorJpegRGB.tiff
tiffset -d 0 -s 262 2 LenaColorJpegRGB.tiff
tiffset -d 1 -s 262 2 LenaColorJpegRGB.tiff
tiffset -d 2 -s 262 2 LenaColorJpegRGB.tiff
tiffset -d 3 -s 262 2 LenaColorJpegRGB.tiff
tiffinfo LenaColorJpegRGB.tiff | grep -aE 'Directory|Photometric'



Other
-----

montage ../Lena.png ../Lena.png ../Lena.png  ../Lena.png  -geometry +0+0 Lena2x2.png