Git Product home page Git Product logo

Comments (1)

spreka avatar spreka commented on July 16, 2024

Hi @jasperblee ,
thank you for reaching out. I cannot seem to reproduce your issue. I just tested on Windows10 with your config file both the built and the pre-built release (latest, v0.0.3-beta) and it worked for me. The configs are printed on startup and when enabled, masks are loaded automatically when you step to the next/previous image with the < or > button - given that the images have corresponding masks with matching names in .tiff format in the folder you located with the Load button.

Can you please specify details about your system?

  • operating system + version
  • jdk distribution + version (e.g. I used Oracle 1.8 now, openjdk is also fine)

The project was previously tested on Win10 (Oracle jdk1.8) and Ubuntu 18.04 (openjdk 1.8).

The config file is expected to be located in the model folder (as in the release, under \plugins\models\AnnotatorJconfig.txt), when you specify a different model folder, the plugin will also look for the config file there. Also, if you change settings in the plugin (e.g. in the Options via the ... button) it will write your new settings to the config file automatically. If it cannot find the config file on startup, it should print the following defaults:

Properties file does not exist: S:\SZBK\annotator\jasperblee\AnnotatorJ_v0.0.3-beta\plugins\\models\AnnotatorJconfig.txt
-------------
Properties:
----
classes:		normal,cancerous
annotationColor:		yellow
overlayColor:		red
semanticBrushSize:		50
contourAssistMaxDistance:		17
contourAssistThresholdGray:		0.1
contourAssistThresholdR:		0.2
contourAssistThresholdG:		0.4
contourAssistThresholdB:		0.2
contourAssistBrushsize:		10
contourAssistMethod:		UNet
modelFolder:	
modelJsonFile:		model_real.json
modelWeightsFile:		model_real_weights.h5
modelFullFile:		model_real.hdf5
saveAnnotTimes:		no
defaultAnnotType:	
rememberAnnotType:		no
saveOutlines:		no
enableMaskLoad:		no
autoMaskLoad:		no
loaded config model folder: 
Properties file does not exist: S:\SZBK\annotator\jasperblee\AnnotatorJ_v0.0.3-beta\plugins\\models\AnnotatorJconfig.txt
-------------

If no lines are printed about the config in the Log window on startup I think it cannot initialize the plugin. Can you please check that no other running instance of AnnotatorJ exists when you run into this issue?

Please note that the batch mask load mode of AnnotatorJ is intended to work on image-mask pairs in the following folder structure:
[any folder]\[image folder]\*.{png,jpg,jpeg,tif,tiff,bmp...}
[any other folder]\[mask folder]\*.tiff
where [image folder] is located by selecting an image in it with the Open button, and [mask folder] by selecting such a folder with the Load button provided the config is set to enable batch mask load - otherwise Load expects an ImageJ/Fiji ROI.zip file to load contours from.

from annotatorj.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.