display_img Subroutine

public subroutine display_img(img, maximum_value)

Display array img. save array as pnm image named "output.pnm" then show via imagemagick.

Arguments

Type IntentOptional Attributes Name
integer, intent(in), dimension(:, :, :) :: img

image array, has pixel values.

integer, intent(in) :: maximum_value

image maximum_value.