No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Image_zoom.py
LICENSE
README.md
image.png
image.tiff
image_bitplane_slicing.py
pixelated.png

README.md

Image Zooming


Table of Contents

Introduction

Build Platforms Contributors Dependent library

A python script for viewing pixel information of a particular selected region in an image. It can used in object tracking where the object has multiple colour present. Its application also lies in detection of counterfiet logo or lables used in various products.

Code snippet

axins = zoomed_inset_axes(ax1, 9, loc=1) # zoom = 6
axins = plt.axes([1, 1, 1, 1])
axins.imshow(img, extent = [5,500,250,785],origin="upper",aspect='auto',interpolation="none")

zoomed_inset_axes() can be used when you want the inset represents the zoom-up of the small portion in the parent axes. And mpl_toolkits/axes_grid/inset_locator provides a helper function mark_inset() to mark the location of the area represented by the inset axes

Input Image


Output Image

License

Contents of this repository are realeased under CC-BY-NC-SA 4.0
License: CC BY-NC-SA 4.0