|
SOLUTIONS
|
Search for all pages containing ImagePartition
BUILT-IN MATHEMATICA SYMBOL
ImagePartition[image, s]
partitions an image into an array of s
s-pixel subimages.
ImagePartition[image, {w, h}]
partitions an image into an array of subimages of pixel width w and pixel height h.
ImagePartition[image, {w, h}, {dw, dh}]
uses pixel offsets dw and dh.
Details and OptionsDetails and Options
- ImagePartition returns an array of Image objects.
- ImagePartition by default picks out nonoverlapping subimages.
- ImagePartition[image, s] generates as many s
s subimages as possible, dropping incomplete subimages at the edges. - ImagePartition[image, {s}] instead includes incomplete subimages at the edges.
- In ImagePartition[image, {wspec, hspec}, ...], the following forms can be used for wspec and hspec:
-
s allow only size s {s} allow any size up to s Scaled[a] allow a multiple a of the size {Scaled[a]} allow any size up to the multiple a of the size {smin,smax} allow any size
through 
- ImagePartition supports the option Padding.
- The default setting is Padding->None, which drops subimages at the edges whose sizes are not consistent with
. - All other standard settings for Padding are also supported.
- ImagePartition also works with Image3D objects.
New in 7 | Last modified in 9
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »




