liveBook · Manning

Crop

Also called cropping

Cropping is an image-processing operation that selects a subregion of an image and excludes the portions outside it.

How 2 Manning books explain it

WordPress Power Toolkit: Harness AI to build next-level websites

A crop tool is an image-editing control for selecting and retaining part of an image while removing content outside the selection.

How it is used
Uses cropping to strengthen an image’s focal point and balance while choosing what remains visible.
How deep it goes
Defines edge trimming and walks through positioning a focal point with crop handles; leaves the final aesthetic choice to judgment.
Examples
Shows a farmhouse moved onto a grid intersection, alternative portrait crops, and an AI crop that initially removed its subjects.
What you can do after
Apply it via a photo editor’s crop tool to reframe an image and test a stronger focal point.

Read how WordPress Power Toolkit: Harness AI to build next-level websites explains crop →

Inside Deep Learning: Math, Algorithms, Models

A preprocessing operation that extracts a spatial subregion from an image, here used to create training and test variants for shift analysis.

How it is used
Creates varied training inputs and controlled test crops for examining how image shifts affect CNN predictions.
How deep it goes
Demonstrates crop selection in a PyTorch data pipeline and loops over shifted sub-images to compare class probabilities.
Examples
Uses CIFAR-10 32 × 32 images, random and center 24 × 24 crops, and offset crops.
What you can do after
Apply it via PyTorch torchvision transforms to vary training crops and keep test crops deterministic.

Read how Inside Deep Learning: Math, Algorithms, Models explains crop →

Also covered in

What to know first

Related concepts

Questions about crop

What is crop?

Cropping is an image-processing operation that selects a subregion of an image and excludes the portions outside it.

Which Manning books explain crop?

WordPress Power Toolkit: Harness AI to build next-level websites and Inside Deep Learning: Math, Algorithms, Models.

What should I know before learning crop?

Manning books that teach crop usually introduce digital image first.

What is the difference between crop and mask?

Cropping is an image-processing operation that selects a subregion of an image and excludes the portions outside it. A mask is a representation or mechanism that selectively identifies, includes, excludes, reveals, or obscures specified parts of data, a system, or a computation.

What kinds of crop are there?

Kinds of crop include center crop.

What is crop also called?

Crop is also called cropping.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.