Interleaving

Interleaving

is an option for Image and related functions that specifies whether data corresponding to different channels in an object such as an image should be interleaved.

Details

  • With the typical default setting Interleaving->True, objects are represented by an array of lists, where each list gives the value of each channel for each array element.
  • With Interleaving->False, objects are represented by a list of arrays, where each array gives all the values for a particular channel.
  • For single-channel images, Interleaving is always set to None.

Examples

open allclose all

Basic Examples  (3)

Change the internal representation of an image to store channels in planar form:

Create an image from data in which color channels are represented in interleaved form:

Create an image from data in which color channels are represented in planar form:

Scope  (2)

By default, AudioData returns non-interleaved data:

Extract interleaved data:

By default, ImageData returns interleaved data:

Extract data in the planar form:

Properties & Relations  (1)

For single-channel images, the Interleaving option is always set to None:

Wolfram Research (2008), Interleaving, Wolfram Language function, https://reference.wolfram.com/language/ref/Interleaving.html.

Text

Wolfram Research (2008), Interleaving, Wolfram Language function, https://reference.wolfram.com/language/ref/Interleaving.html.

CMS

Wolfram Language. 2008. "Interleaving." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Interleaving.html.

APA

Wolfram Language. (2008). Interleaving. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Interleaving.html

BibTeX

@misc{reference.wolfram_2024_interleaving, author="Wolfram Research", title="{Interleaving}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/Interleaving.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_interleaving, organization={Wolfram Research}, title={Interleaving}, year={2008}, url={https://reference.wolfram.com/language/ref/Interleaving.html}, note=[Accessed: 21-November-2024 ]}