imshow

Show an image to screen.

  1. Figure imshow(Image image, string title = "")
  2. Figure imshow(Slice!(kind, packs, Iterator) slice, string title = "")
  3. Figure imshow(Slice!(kind, packs, Iterator) slice, ImageFormat format, string title = "")
    imshow
    (
    SliceKind kind
    size_t[] packs
    Iterator
    )
    (
    Slice!(kind, packs, Iterator) slice
    ,,
    string title = ""
    )

Parameters

title
Type: string

Title of the window. If none given (default), window is named by "Figure id".

If figure with given title exists, than the image content is updated with the given image.

Return Value

Type: Figure

If figure with given title exists already, that figure is returned, otherwise new figure is created and returned.

Throws

ContextNotInitialized

Meta