ImageQ

ImageQ[image]

yields True if image has the form of a valid Image or Image3D object, and False otherwise.

Examples

open allclose all

Basic Examples  (3)

A valid image object:

A valid 3D image object:

An expression with head Image that is not a valid image object:

Properties & Relations  (1)

Testing for a valid 2D image:

Testing for a valid 3D image:

Possible Issues  (2)

An expression of the form Graphics[Raster[}] is not a valid image object:

An expression of the form Graphics3D[Raster3D[}] is not a valid image object:

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

Text

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

CMS

Wolfram Language. 2008. "ImageQ." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/ImageQ.html.

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_imageq, organization={Wolfram Research}, title={ImageQ}, year={2012}, url={https://reference.wolfram.com/language/ref/ImageQ.html}, note=[Accessed: 22-November-2024 ]}