<div dir="ltr"><div>Dear Experts,</div><div><br></div><div>I try to save a black/white image as a binary image.</div><div><br></div><div>That means: An image with bit depth of 1.</div><div><br></div><div>"imwrite" from IPCV however seems to save the image at least as a 8-bit-image.</div><div><br></div><div>The array I want to save as an image consists of "0" and "1" only.</div><div></div><div><br></div><div>The output file type must be ".jpg".</div><div><br></div><div>Thank you,</div><div>Philipp<br></div><div><br></div><div> <br></div><div><br></div><div><br></div></div>