Skip to content

dense_crf3d: No segm produced for single modality #2

@satrajitgithub

Description

@satrajitgithub

Hi taigw,

I am trying to run dense_crf3d on single modality (only T1c).
At first I used: dense_crf_param['BilateralModsStds'] = (3.0) but that didnt work. So I used dense_crf_param['BilateralModsStds'] = (3.0,) instead.
These are the parameters I use now and the module runs as well:

    dense_crf_param = {}
    dense_crf_param['MaxIterations'] = 2.0
    dense_crf_param['PosRStd'] = 3.0
    dense_crf_param['PosCStd'] = 3.0
    dense_crf_param['PosZStd'] = 3.0
    dense_crf_param['PosW'] = 1.0
    dense_crf_param['BilateralRStd'] = 5.0
    dense_crf_param['BilateralCStd'] = 5.0
    dense_crf_param['BilateralZStd'] = 5.0
    dense_crf_param['ModalityNum'] = 1
    dense_crf_param['BilateralW'] = 3.0
    dense_crf_param['BilateralModsStds'] = (3.0,)

But the segmentation produced is all zeros.

I did a gridsearch with several random values of PosStds,PosWs,BilateralStds,BilateralWs but its all zero. Do you have any suggestions on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions