i am a beginer of the ITK, as the title, i want to segment the specified region of the image , how can i do?
In the most general form, as you stated here, it is an unsolved problem. See Wikipedia article. Many constraints are needed in order for it to be tractable. Image modality, organ of interest, tissue of interest, etc are all common constraints.
thank you for your relpy, maybe i did not make myself clear.
i want to use OtsuThresholdImageFilter to segment lung, first , i have already distinguish the body and background by OtsuThresholdImageFilter, than i want to segment lung from the body part which is the result of the first step. my question is how to use OtsuThresholdImageFilter just on the body pixels.
by the way, i process 2D image.