{"id":922,"date":"2020-07-22T14:18:10","date_gmt":"2020-07-22T06:18:10","guid":{"rendered":"https:\/\/www.yohz.com\/blogs\/?p=922"},"modified":"2020-08-16T14:43:18","modified_gmt":"2020-08-16T06:43:18","slug":"dicom-search-libraries-preview-1","status":"publish","type":"post","link":"https:\/\/www.yohz.com\/blogs\/2020\/07\/22\/dicom-search-libraries-preview-1\/","title":{"rendered":"DICOM Search &#8211; libraries (preview 1)"},"content":{"rendered":"<p>In DICOM Search, your DICOM images are organized into libraries.<\/p>\n<p>You can populate each library with images from one or more databases, or from files on your computer.<\/p>\n<p style=\"padding-left: 40px;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-923\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex01.png\" alt=\"\" width=\"696\" height=\"598\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex01.png 696w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex01-300x258.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex01-624x536.png 624w\" sizes=\"(max-width: 696px) 100vw, 696px\" \/><\/p>\n<h2><\/h2>\n<h2>Retrieving and indexing images from a database<\/h2>\n<p>DICOM Search can connect to PostgreSQL, SQL Server, Oracle, MariaDB, MySQL, and most popular database engines.\u00a0 First, enter your connection details to connect to the database you want to process images from.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-924\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex02.png\" alt=\"\" width=\"696\" height=\"598\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex02.png 696w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex02-300x258.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex02-624x536.png 624w\" sizes=\"(max-width: 696px) 100vw, 696px\" \/><\/p>\n<p>Enter the query to retrieve your images, together with the key fields used to uniquely identify the image.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-925\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex03.png\" alt=\"\" width=\"696\" height=\"598\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex03.png 696w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex03-300x258.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex03-624x536.png 624w\" sizes=\"(max-width: 696px) 100vw, 696px\" \/><\/p>\n<p>You will then need to let DICOM Search know which are the key fields.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-927\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex04.png\" alt=\"\" width=\"696\" height=\"598\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex04.png 696w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex04-300x258.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex04-624x536.png 624w\" sizes=\"(max-width: 696px) 100vw, 696px\" \/><\/p>\n<p>In our example, the <strong>patientID<\/strong> and <strong>studyID<\/strong> are the key fields.\u00a0 Note that the key fields are for your own reference &#8211; when you query the tags database, the key fields are your link to the records in your source database.\u00a0 When you want to extract the images or additional information from the source database, the key field values will help you in retrieving the relevant images.<\/p>\n<p>DICOM Search will extract all the standard DICOM tag values and store them in a SQLite database.\u00a0 You specify the name of this database file in the <strong>Tags database file name<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-928\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex05.png\" alt=\"\" width=\"696\" height=\"105\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex05.png 696w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex05-300x45.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex05-624x94.png 624w\" sizes=\"(max-width: 696px) 100vw, 696px\" \/><\/p>\n<h3><\/h3>\n<h2>Indexing images from files on your computer<\/h2>\n<p>You can also index DICOM images if they are stored as files on your computer.\u00a0 \u00a0Enter the file paths and file search patterns to locate your DICOM files.\u00a0 You can enter multiple values to search in.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-929\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex06.png\" alt=\"\" width=\"696\" height=\"598\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex06.png 696w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex06-300x258.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex06-624x536.png 624w\" sizes=\"(max-width: 696px) 100vw, 696px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Thumbnails<\/h2>\n<p>By default, only DICOM tag values are stored in the database e.g.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-934\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex09.png\" alt=\"\" width=\"826\" height=\"293\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex09.png 826w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex09-300x106.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex09-768x272.png 768w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex09-624x221.png 624w\" sizes=\"(max-width: 826px) 100vw, 826px\" \/><\/p>\n<p>You can have DICOM Search create thumbnails for each of the image you process from your database or folder.<\/p>\n<p>To create a thumbnail, select the <strong>Create thumbnail images<\/strong> option and enter the size of the thumbnail to create.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-935\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex10.png\" alt=\"\" width=\"696\" height=\"598\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex10.png 696w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex10-300x258.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex10-624x536.png 624w\" sizes=\"(max-width: 696px) 100vw, 696px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-936\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex11.png\" alt=\"\" width=\"696\" height=\"598\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex11.png 696w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex11-300x258.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex11-624x536.png 624w\" sizes=\"(max-width: 696px) 100vw, 696px\" \/><\/p>\n<p>Once the thumbnails have been created, they will be displayed in a column named <strong>ds_thumbnail<\/strong> and can be displayed in DICOM Search together with the image tag values.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-937\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex12.png\" alt=\"\" width=\"1558\" height=\"535\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex12.png 1558w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex12-300x103.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex12-1024x352.png 1024w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex12-768x264.png 768w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex12-1536x527.png 1536w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex12-624x214.png 624w\" sizes=\"(max-width: 1558px) 100vw, 1558px\" \/><\/p>\n<h2><\/h2>\n<h2>Exporting the images from your database<\/h2>\n<p>DICOM Search also helps you export your DICOM images from your database and store it in a folder on your computer.\u00a0 To export the images, select the <strong>Extract images to folder<\/strong> option.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-938\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex13.png\" alt=\"\" width=\"696\" height=\"598\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex13.png 696w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex13-300x258.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex13-624x536.png 624w\" sizes=\"(max-width: 696px) 100vw, 696px\" \/><\/p>\n<p>DICOM Search will then extract the images and store the file name in the <strong>ds_filename<\/strong> column.\u00a0 When you run queries against the tags database and select this column, it will be highlighted in blue if the image file exists.\u00a0 To open the file using your registered DICOM viewer, double click on the file name.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-939\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex14.png\" alt=\"\" width=\"1156\" height=\"561\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex14.png 1156w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex14-300x146.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex14-1024x497.png 1024w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex14-768x373.png 768w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2020\/07\/dicomex14-624x303.png 624w\" sizes=\"(max-width: 1156px) 100vw, 1156px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>See also:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.yohz.com\/blogs\/?p=931\">querying the tags database<\/a><\/li>\n<li><a href=\"https:\/\/www.yohz.com\/blogs\/?p=960\">DICOM Seach walkthrough<\/a><\/li>\n<\/ul>\n<div class=\"fcbkbttn_buttons_block\" id=\"fcbkbttn_left\"><div class=\"fcbkbttn_like \"><fb:like href=\"https:\/\/www.yohz.com\/blogs\/2020\/07\/22\/dicom-search-libraries-preview-1\/\" action=\"like\" colorscheme=\"light\" layout=\"button\"  size=\"small\"><\/fb:like><\/div><div class=\"fb-share-button  \" data-href=\"https:\/\/www.yohz.com\/blogs\/2020\/07\/22\/dicom-search-libraries-preview-1\/\" data-type=\"button\" data-size=\"small\"><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>In DICOM Search, your DICOM images are organized into libraries. You can populate each library with images from one or more databases, or from files on your computer. Retrieving and indexing images from a database DICOM Search can connect to PostgreSQL, SQL Server, Oracle, MariaDB, MySQL, and most popular database engines.\u00a0 First, enter your connection [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[126],"tags":[128,129,130],"_links":{"self":[{"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/posts\/922"}],"collection":[{"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/comments?post=922"}],"version-history":[{"count":6,"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/posts\/922\/revisions"}],"predecessor-version":[{"id":976,"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/posts\/922\/revisions\/976"}],"wp:attachment":[{"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/media?parent=922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/categories?post=922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/tags?post=922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}