Folder Indexer plugin

483 views
Skip to first unread message

Sébastien Jodogne

unread,
Sep 24, 2021, 7:49:10 AM9/24/21
to Orthanc Users
Dear Orthanc community,

I am delighted to announce the release of a new plugin for Orthanc, as a byproduct of my research work at the UCLouvain university:

This plugin continuously synchronizes the content of an Orthanc server with the content of a filesystem. This way, the filesystem is automatically organized according to the DICOM model of the real world, without any manual intervention. The indexed DICOM resources are immediately available in a Web interface and in a Web viewer, and can be queried/retrieved by DICOM clients. The DICOM files are not copied, so this solution has a very small footprint in terms of storage requirements.

The 1.0 release of the Folder Indexer plugin is available on the official homepage of Orthanc:

Enjoy,
Sébastien-

Luiz Eduardo Guida Valmont

unread,
Sep 24, 2021, 8:00:10 AM9/24/21
to Sébastien Jodogne, Orthanc Users
This. Is. Lovely. So many will benefit so much from your work.

Thanks and congratulations on your continued work on Orhtanc, master Sébastien!


--
You received this message because you are subscribed to the Google Groups "Orthanc Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/6fba1c01-e22b-4b8e-9c3b-ac135de39e65n%40googlegroups.com.

Alain Mazy

unread,
Sep 27, 2021, 6:25:37 AM9/27/21
to Sébastien Jodogne, Orthanc Users
FYI, we have added this plugin in the Win Installers, osimis/orthanc Docker images & OSX packages version 21.9.2: https://www.osimis.io/en/download.html

And thanks to UCLouvain for this great plugin ;-)



--

Benoit Crickboom

unread,
Sep 27, 2021, 4:49:27 PM9/27/21
to Orthanc Users
Great!
Combined to an auto-routing script, that's a perfect solution to import studies from various patient portals to the PACS...

Marcel Nóbrega

unread,
Oct 1, 2021, 9:23:00 AM10/1/21
to Orthanc Users
Hi all,

Adding my radiant folder to the indexer.json did not made radiant db available in orthanc web server.

I thought it was this simple, maybe I'm missing something?


        "Enable" : true,
        "Folders" : ["C:\\Users\\user\\OneDrive\\Documents\\RadiAntDB"],   
        "Interval" : 10                       // Delay between two synchronizations


Thanks,

Alain Mazy

unread,
Oct 1, 2021, 9:30:12 AM10/1/21
to Marcel Nóbrega, Orthanc Users
Hi Marcel,

With the latest Windows installers, all I had to do is to update the indexer.json file with this content:

{
    "Indexer" : {
        "Enable" : true,
        "Folders" : ["c:\\Users\\Alain\\o\\dicom-files"],                       // List of folders to synchronize

        "Interval" : 10                       // Delay between two synchronizations
    }  
}

And it worked immediately.

You should check the Orthanc logs at startup and check that the plugin is loaded (http://localhost:8042/plugins/)

HTH

Alain.

Marcel Nóbrega

unread,
Oct 1, 2021, 9:45:40 AM10/1/21
to Orthanc Users
Hi, Alain.. I'll make the checks and report back. I guess subfolders are included, right?

Thanks

Alain Mazy

unread,
Oct 1, 2021, 9:59:03 AM10/1/21
to Marcel Nóbrega, Orthanc Users
yes, subfolders are included


Marcel Nóbrega

unread,
Oct 2, 2021, 7:36:18 PM10/2/21
to Orthanc Users
I guess folder names with spaces are not supported in windows, or spaces should be somehow escaped in the config file. I changed database folder and it worked instantly.


Thanks again.

myban...@gmail.com

unread,
Dec 12, 2021, 2:12:29 PM12/12/21
to Orthanc Users
Hello! Please clarify whether this plugin speeds up the loading of dicom images in the web viewer? I have a folder with more than 6 terabytes (TB) of storage, can this  plugin degrade the performance of my Orthanc?
Thanks!

p041...@gmail.com

unread,
Dec 15, 2021, 6:37:34 AM12/15/21
to Orthanc Users
This plugin can affect the performance of Orthanc in term of loading dicom speed. The mechanism behind this plugin is that it scans all dicom files and mapping the location of those ones to with the database indexes. So when orthanc loads files, it has to look up in mapping table. Because the mapping table is implemented in SQLite, so it slows down a little bit comparing to PostgreSQL.
P/S : I am loading around 16Tb, and speed of viewing dicom images is quite slow.
Reply all
Reply to author
Forward
0 new messages