//
// time: Wed Apr  9 15:46:47 1997
//
// version: 3.1.1 (format), 3.1.4 (DX Beta)
//
//
// MODULE main
// CATEGORY Macros
//
// comment: This visual program shows you some ways to use the Filter module. In this case, we are filtering an image read in using the ReadImage module. You could also filter the output of Render.  The control panel contains an interactor which allows you to choose which of several filters to apply to the image.
// workspace: width = 336, height = 419
// layout: snap = 0, width = 50, height = 50, align = CC
//
macro main(
) -> (
) {
    // 
    // node ReadImage[2]: x = 33, y = 39, inputs = 9, label = ReadImage
    // input[1]: defaulting = 0, visible = 1, type = 32, value = "imide.rgb"
    //
main_ReadImage_2_out_1 = 
    ReadImage(
    main_ReadImage_2_in_1,
    main_ReadImage_2_in_2,
    main_ReadImage_2_in_3,
    main_ReadImage_2_in_4,
    main_ReadImage_2_in_5,
    main_ReadImage_2_in_6,
    main_ReadImage_2_in_7,
    main_ReadImage_2_in_8,
    main_ReadImage_2_in_9
    ) [instance: 2, cache: 1];
    // 
    // node Selector[1]: x = 272, y = 51, inputs = 7, label = Selector
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_1"
    // input[2]: defaulting = 0, visible = 0, type = 32, value = "compass:ne" 
    // input[3]: defaulting = 0, visible = 0, type = 29, value = 4 
    // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "gaussian:3x3" "gaussian:7x7" "compass:nw" "compass:ne" "compass:n" "compass:e" "laplacian" }
    // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 1 2 3 4 5 6 7 }
    // input[6]: defaulting = 1, visible = 0, type = 3, value = 0
    // output[1]: visible = 1, type = 29, value = 4 
    // output[2]: visible = 1, type = 32, value = "compass:ne" 
    //
    // 
    // node Filter[1]: x = 236, y = 166, inputs = 4, label = Filter
    // input[3]: defaulting = 0, visible = 1, type = 32, value = "colors"
    //
main_Filter_1_out_1 = 
    Filter(
    main_ReadImage_2_out_1,
    main_Selector_1_out_2,
    main_Filter_1_in_3,
    main_Filter_1_in_4
    ) [instance: 1, cache: 1];
    // 
    // node Collect[2]: x = 95, y = 152, inputs = 2, label = Collect
    //
main_Collect_2_out_1 = 
    Collect(
    main_ReadImage_2_out_1,
    main_Filter_1_out_1
    ) [instance: 2, cache: 1];
    // 
    // node Arrange[2]: x = 124, y = 257, inputs = 5, label = Arrange
    //
main_Arrange_2_out_1 = 
    Arrange(
    main_Collect_2_out_1,
    main_Arrange_2_in_2,
    main_Arrange_2_in_3,
    main_Arrange_2_in_4,
    main_Arrange_2_in_5
    ) [instance: 2, cache: 1];
    // 
    // node Display[1]: x = 119, y = 357, inputs = 4, label = Display
    // depth: value = 24
    // window: position = (0.2492,0.0625), size = 0.4797x0.2773
    //
main_Display_1_out_1[cache: 2] = 
    Display(
    main_Arrange_2_out_1,
    main_Display_1_in_2,
    main_Display_1_in_3,
    main_Display_1_in_4
    ) [instance: 1, cache: 1];
// network: end of macro body
}
main_ReadImage_2_in_1 = "imide.rgb";
main_ReadImage_2_in_2 = NULL;
main_ReadImage_2_in_3 = NULL;
main_ReadImage_2_in_4 = NULL;
main_ReadImage_2_in_5 = NULL;
main_ReadImage_2_in_6 = NULL;
main_ReadImage_2_in_7 = NULL;
main_ReadImage_2_in_8 = NULL;
main_ReadImage_2_in_9 = NULL;
main_ReadImage_2_out_1 = NULL;
main_Selector_1_in_1 = "Selector_1";
main_Selector_1_in_2 = "compass:ne" ;
main_Selector_1_in_3 = 4 ;
main_Selector_1_in_4 = NULL;
main_Selector_1_in_5 = NULL;
main_Selector_1_in_6 = NULL;
main_Selector_1_in_7 = NULL;
main_Selector_1_out_2 = "compass:ne" ;
main_Filter_1_in_3 = "colors";
main_Filter_1_in_4 = NULL;
main_Filter_1_out_1 = NULL;
main_Collect_2_out_1 = NULL;
main_Arrange_2_in_2 = NULL;
main_Arrange_2_in_3 = NULL;
main_Arrange_2_in_4 = NULL;
main_Arrange_2_in_5 = NULL;
main_Arrange_2_out_1 = NULL;
main_Display_1_in_2 = NULL;
main_Display_1_in_3 = "X24,,";
main_Display_1_in_4 = NULL;
Executive("product version 3 1 4");
$sync
main();
