ImageMarker

ImageMarker[pos]

is a HighlightImage specification that represents a marker at position pos.

ImageMarker[pos,marker]

represents a custom marker at position pos.

ImageMarker[{pos1,pos2,},]

represents multiple marker positions posi.

Details

  • The following marker specifications can be used:
  • imagean Image object
    graphicsa Graphics object
    exprany arbitrary expression expr
    "shape"a known named marker "shape"
  • Supported known shapes "shape" include:
  • "Arrow"a downward arrow pointing to pos
    "Circle"an empty circle centered at pos
    "CircleBullet"a circle bullet centered at pos
    "Cross"a cross centered at pos
    "GrayPoint"a gray square centered at pos
    "OpenCross"an open cross centered at pos
    "Point"a framed square point centered at pos
    "Star"a star centered at pos
  • Positions posi can be specified by:
  • {x,y}ordinary coordinates in a plot
    Scaled[{x,y},]scaled coordinates from 0 to 1
    ImageScaled[{x,y},]scaled coordinates from 0 to 1 across a whole image
    Offset[{dx,dy},]absolute offset in printer's points
    Center, etc.{Center,Center} etc.

Examples

open allclose all

Basic Examples  (1)

Highlight image corners as cross-shaped markers:

Specify the marker shape:

Applications  (1)

Use a custom arrow marker to highlight the scale and orientation of the image keypoints:

Extract positions, directions and scales of keypoints:

Highlight with arrows on the image:

Neat Examples  (1)

Create an effect inspired by Magritte's The Son of Man:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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