Function iagshow

Synopse

Apply binary overlays as color layers on a binary or gray-scale image

  • Y = iagshow(X, X1=NULL, X2=NULL, X3=NULL, X4=NULL, X5=NULL, X6=NULL)
    • Y: Image
    • X: Image
    • X1: Image Red overlay.
    • X2: Image Green overlay.
    • X3: Image Blue overlay.
    • X4: Image Magenta overlay.
    • X5: Image Yellow overlay.
    • X6: Image Cyan overlay.

Example

Ramp

1. from ia870 import *
2. 
3. f = resize(arange(256), (256,256))
4. adshow(f, 'gray scale ramp')
5. adshow( iagshow(f,f>50,f>80,f>100,f>150,f>200,f>250), 'overlaid')

gray scale ramp

overlaid

Natural image

1. f = adread('cameraman.tif')
2. fd = iagshow(f,f>50,f>80,f>100,f>150,f>200,f>250)
3. adshow(fd, title='example')

example