Error for module "ConvertImagetoObject"


I am trying to use the pipeline below to measure the dendrite and axon length of the neurons that I have imaged. I am experiencing some issues with measuring the area of the skeletonized image. I have two specific questions:

  1. Is there a way to convert the branchpoint image from the module “Measure object skeleton” into a binary image? This would most ideal, since I would like to measure the area occupied by the skeletonized image.

  2. Alternatively, I am trying to convert my image to objects and then measure the area. However, the pipeline gives the error : “Error while processing ConvertImageToObject: too many values to unpack (expected2)”. I don’t understand what I am supposed to change to fix the issue.

Any help would be greatly appreciated. I am attaching the pipeline below, along with the sample set of images. I am using version 4.0.4.

Thank you,
[KirwanHCS_Jan2021_Staining 1.cpproj|attachment]
(upload://xOChcrBvqXff5QBkMf68YX8geI3.cpproj) (1.0 MB) Replicate2_P1_1DPR_Shank46_HuCDRbR_MAP2chG_SMI31msFR_DAPIB_B07_s1_w4.TIF (2.9 MB) Replicate2_P1_1DPR_Shank46_HuCDRbR_MAP2chG_SMI31msFR_DAPIB_B07_s1_w1.TIF (1.7 MB) Replicate2_P1_1DPR_Shank46_HuCDRbR_MAP2chG_SMI31msFR_DAPIB_B07_s1_w2.TIF (2.8 MB) Replicate2_P1_1DPR_Shank46_HuCDRbR_MAP2chG_SMI31msFR_DAPIB_B07_s1_w3.TIF (2.7 MB)

Hi @Vaidehi_Gupta,

It looks like something happened to your pipeline upload – I’m not able to download that file. Could you try again and verify that you see a link to that file in your message?


Hi Pearl,

Sorry about that. Here you go. Thank you!
KirwanHCS_Jan2021_Staining 1.cpproj (1.0 MB)

The issues you raise here are in fact, related @Vaidehi_Gupta. The output of the MeasureObjectSkeleton module is an RGB image. If you’d like to threshold the image, I’d recommend:

I hope this helps!

Thank you so much @pearl-ryder!