Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Computer Vision with Julia

You're reading from   Hands-On Computer Vision with Julia Build complex applications with advanced Julia packages for image processing, neural networks, and Artificial Intelligence

Arrow left icon
Product type Paperback
Published in Jun 2018
Publisher Packt
ISBN-13 9781788998796
Length 202 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Dmitrijs Cudihins Dmitrijs Cudihins
Author Profile Icon Dmitrijs Cudihins
Dmitrijs Cudihins
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Getting Started with JuliaImages FREE CHAPTER 2. Image Enhancement 3. Image Adjustment 4. Image Segmentation 5. Image Representation 6. Introduction to Neural Networks 7. Using Pre-Trained Neural Networks 8. OpenCV 9. Assessments
10. Other Books You May Enjoy

Using test images

The TestImages.jl package and dataset provides easy access to a small number of free images out of the box. It is the way to go when trying out different computer vision techniques and algorithms.

The benefits of using the TestImages dataset are the following:

  • Images are of different file types, such as JPG, PNG, and TIF
  • Images are of different sizes, such as 512x512 and 256x256
  • Images are of different color schemes, such as RGB and grayscale

It is very easy to start with the TestImages package. You just need to load the TestImages package and use the testimage function to load the image by name:

  using TestImages
img = testimage("mandril_color");
save("mandril_color.png", img);

Our code example would result in loading a mandrill image from the TestImages dataset. You can save this in your current working directory.

You have been reading a chapter from
Hands-On Computer Vision with Julia
Published in: Jun 2018
Publisher: Packt
ISBN-13: 9781788998796
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime