<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div class="" style="">Thanks Matt for your suggestion.</div><div class="" style="">*But I've tried with that too. It is not considering the index/seed position that I write in program.</div><div class="" style="">When I  added   below code to get selected seed position, it shows completely different point than what I had written(using image J ---> physical coordinates )     </div><div class="" style="">               std::cout <<  filter->GetOutput()->GetPixel( Position1 ) << std::endl;</div><div class="" style="">*seed point doesn't appear between selected thresholds ( say: (85,300) & seep position will be like 45 etc)</div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times,
 serif; font-style: normal; background-color: transparent;"><br></div><div class="" style="">*Also, I should mention that my dicom images appear in reverse order( flipped). Is this affecting my seed selection? </div><div class="" style="">       (I tried subtracting Y coordinate from maxY etc.)</div><div class="" style=""> </div><div class="" style="">Can you pls tell what is wrong? thank you.  </div><div class="" style=""><br></div> </div></body></html>