Process container mentioned in the deconvolution section

Adam,

You used an image container to dilate and blur star masks in the deconvolution seciton, but you dont give all the settings. Could you post that icon in the deconvolution video section for download? I looks very useful.

Comments

  • I do point it out in a prior lesson. I believe you will find it as part of the icon set for the workflow section (PI Fundamentals). 


    But you are right..I need to make the template available that has that small collection of icons. 

    The settings are nothing special. Just Dilation with a structure element of size 5 (rounded) and Convolution of 3.5 std or so.

    So ...I will add this to the list of things I need to do.
    Thanks,
    -the Blockhead
  • I am going through Fundamentals and came across the same question. I found the rundown of the "Mask_Enlarge_Blur" process container @13:00 in Fundamentals | Masks | Section 05 video titled "Object Masks Part 2 (Deconvolution)".

    And for convenience, here is the source code of the Process Container that can be pasted into a new process container to create the same:

    var P = new ProcessContainer;


    var P001 = new MorphologicalTransformation;

    P001.operator = MorphologicalTransformation.prototype.Dilation;

    P001.interlacingDistance = 1;

    P001.lowThreshold = 0.000000;

    P001.highThreshold = 0.000000;

    P001.numberOfIterations = 1;

    P001.amount = 1.00;

    P001.selectionPoint = 0.50;

    P001.structureName = "";

    P001.structureSize = 9;

    P001.structureWayTable = [ // mask

    [[

    0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x00,0x00,

    0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x00,

    0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,

    0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,

    0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,

    0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,

    0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,

    0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x00,

    0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x00,0x00

    ]]

    ];

    P.add( P001 );


    var P002 = new Convolution;

    P002.mode = Convolution.prototype.Parametric;

    P002.sigma = 3.60;

    P002.shape = 2.00;

    P002.aspectRatio = 1.00;

    P002.rotationAngle = 0.00;

    P002.filterSource = "";

    P002.rescaleHighPass = false;

    P002.viewId = "";

    P.add( P002 );


Sign In or Register to comment.