write tiff for imagej
write a tiff file for imagej.
This source code is licensed under the Unlicens.
You can use all or part of this source code without any constraints.
Use the following files.
write_tiff(const char file, const void data, int width, int height, int nChannels,
int type, int flag)
name | description | ||
---|---|---|---|
file | filename | ||
data | pointer of data. Only interleaved is supported for a multi channel image. |
||
width | width of image | ||
nChannels | the number of channels | ||
type | type of image | ||
flag | to write image as color |
Use the following files.
void cv_write_tiff(const char *file, const cv::Mat &img, int flag = TI_BGR)
name | description | ||
---|---|---|---|
file | filename | ||
img | Mat object | ||
flag | to write image as color |