Combine images to PDF in linux

Using convert utility we can join multiple image files (png, jpeg, pdf) into one pdf. convert -density 250 file1.pdf file2.JPG file3.pdf -compress JPEG -quality 70 combined.pdf we use JPEG compression with quality =90 for images inside PDF. Otherwise the PDF will be too large. source

May 3, 2017 · SergeM

Image processing in Python

Image search using elastic search Comparison of Image Search Performance using different kinds of vectors Plugin for elastic search Personalizing image search with feature vectors and Lucene (video) Operations on images in python How to set thresholds for Canny edge detector in openCV Zero-parameter, automatic Canny edge detection with Python and OpenCV 1 2 3 4 5 6 7 8 9 10 11 def auto_canny(image, sigma=0....

January 15, 2017 · SergeM

Setting default parameters for imshow in pyplot

I find default visualization settings for images in matplotlib inconvenient. Usually I prefer to see images in grayscale color map and without smoothing. Thus I see actual data without distortions. Grayscale is easier to understand. 1 2 3 import matplotlib.pyplot as plt plt.rcParams['image.cmap'] = 'gray' plt.rcParams['image.interpolation'] = 'nearest' Compare default colors and interpolation: and after applying the settings:

November 23, 2014 · SergeM