How can I correct this error in LOOKTIF of COMSTAT program? I cannot proceed with thresholding and COMSTAT analysis because of this error.

The program found 8 tif files in the current directory /Users/sanchezzoe/Desktop/C48A1GFP All the images are listed above.
Enter number of the image you want to view > 3 ??? Undefined function or method 'display_images_func' for input arguments of type 'uint8'.
Error in ==> looktif at 120 display_images_func(bb,'gray', 's', [filename, ' - Original']);

2 Comments

I had this problem as well. Just put all your files into one folder (including the "function" files and your tif image and info files that you want to process). The reason you're getting the error is because Matlab can't find the display_images_func.m file it needs to run the LOOKTIF.m and LOOK.m files (this is located in the comstat/functions folder).
Copy your comment to an Answer. It seems like a solution to Zoe’s problem, and will help others with a similar problem find it.

Sign in to comment.

Answers (1)

I had this problem as well. Just put all your files into one folder (including the "function" files and your tif image and info files that you want to process). The reason you're getting the error is because Matlab can't find the display_images_func.m file it needs to run the LOOKTIF.m and LOOK.m files (this is located in the comstat/functions folder).

Categories

Find more on Images in Help Center and File Exchange

Asked:

Zoe
on 7 May 2014

Answered:

on 29 Aug 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!