object counts should NOT be saved with prefix 'ObjectCount '.
line 257:
handles.Measurements.Image.ObjectCountFeatures(end+1) = {['ObjectCount ' TargetName]};
I suggest to remove the prefix, so the line will be
Problem: I tried to load Objects other than Nuclei/Cell with GetRawProbModelData2 (structMiscSettings.ObjectCountName = 'PML_filt'), but object counts were wrong (set to default). GetRawProbModelData2 could not find 'PML_filt' since FilterByObjectMeasurement.m saved the objects counts as 'ObjectCount PML_filt'.
object counts should NOT be saved with prefix 'ObjectCount '. line 257: handles.Measurements.Image.ObjectCountFeatures(end+1) = {['ObjectCount ' TargetName]};
I suggest to remove the prefix, so the line will be
handles.Measurements.Image.ObjectCountFeatures(end+1) = {[TargetName]};
Problem: I tried to load Objects other than Nuclei/Cell with GetRawProbModelData2 (structMiscSettings.ObjectCountName = 'PML_filt'), but object counts were wrong (set to default). GetRawProbModelData2 could not find 'PML_filt' since FilterByObjectMeasurement.m saved the objects counts as 'ObjectCount PML_filt'.