babiking / KFB_Convert_TIFF

Convert private medical digital scan format .kfb to standard .tiff file
18 stars 4 forks source link

Questions about tiff format #1

Open defxyz opened 6 years ago

defxyz commented 6 years ago

We have used your code and we have some questions: We want to know which tiff format the code is transferred to, whether it is a stripped tiff or a tiled tiff.What we want to transfer is tiled tiff. What kind of changes need to be made?

babiking commented 6 years ago

this code transfers .kfb raw data into a tile-oriented .tiff file by default. However, I haven't finished this work yet, therefore until now it only support convert a patch of raw data to .tiff, not the whole raw image. If you want to change the read/write means, please modify the TIFFSetField() in src/write_RGB_to_TIFF.cpp. p.s. the commented lines in .cpp file is for your inference.

babiking commented 6 years ago

read/write means = tile-oriented or stripped .tiff

babiking commented 6 years ago

I improve the coding style and hierarchy. Make it more convenient to call these APIs. Please see commit "release 1.0" if still needed.