Posts

c# - Change dicom Transfer Syntax showing no registered codec using mDCM -

I'm having trouble with changing the transfer syntax. I am using the mdcm library and I have also added the dcom.codecdl for this project. Compressed files in 0002,0010, transfer syntax UID = 1.2.840.10008.1.2.4.90 (JPEG 2000 image compression (lossless only)). Error: The Dcom Codex was caught. There is no registered codec for transfer syntax! My code: string file = "c: \\ dcom \\ 1001.dcm"; String output = "c: \\ dcom \\ dmprocessed \\ 1001.dcm"; Deccomfile formatFF = new decfile format (); Ff.Load (file, decome.demmRaid option default); Ff.ChangeTransferSytnax (DicomTransferSyntax.ExplicitVRLittleEndian, null); // Here error No registered codec for transfer syntax! D.Com. Imaging Diamond Image IM = New Diacom. Imaging Diamond image (FF dataset); System.Drawing.Image i = im.Render (); I.Save (Production); The other thing I have noticed is that tag 7FE0,0010, pixel data = 0 . For other Dicom files, the pixel data tag should have values ​​gre...

linq - include keyword not providing filter with extension method -

I want to use the keyword with some selection like this: context Categories (C => c.products) I searched the Internet and found the following method: Public static class ObjectQueryExtension {public Fixed ObjectQuery & lt; T & gt; Include & lt; T & gt; (This objectivity should include & lt; T & gt; Mainclline, Expression & lt; Func & lt; T, Object & gt; & gt; subselector) {mainQuery Include (Subscriber Options as Sub-Selector.) System. Reflection.PropertyInfo) .name); }} When I pasted this project in my project and when I was typing context.category.include () // So it's just looking like the parameter to use the string: context.category.include (""); // like this I want to use keywords like this: context.Categories.Include (c => c.products ) Can any organization tell me about this problem ??? You have to enter the property in this extension as a string Method: context.category.include...

sql server - Find all table names with column name? -

इस सवाल का पहले से ही एक उत्तर है: 2 जवाब मैं सभी कैसे प्राप्त कर सकता हूँ तालिका नाम जहां दिए गए स्तंभ का नाम मौजूद है? मुझे एसक्यूएल सर्वर में "पसंद" वाले नाम चाहिए। उदाहरण के लिए: - तालिका नाम चुनें जहां '% MyColumn%' जैसे कॉलमनाम ' कृपया मेरी मदद करें कृपया नीचे की क्वेरी का प्रयास करें विवरण प्राप्त करने के लिए sys.column का उपयोग करें: - का चयन करें c.name के रूप में colName, c.object_id = t.object_id पर sys.column c JOIN sys.tables t से तालिकानाम। '% MyCol%' जैसे सी। नाम

html - Menu won't center -

Image
I have a menu on WordPress that I'm trying to center, but it does not centrestage itself if I have a margin It does nothing, but it does nothing, but when a certain number is determined, it does, but it does not exactly align in contrast to using auto. css .menu {width: auto; Swim left; Display area; } #navcontainer {display: inline; Padding: 0px; Margin: 0 px; / * - 8px 0 0 10px; * / List-style: none; Status: Relative; Z-index: 1; Swim left; Height: 20px; Width: 100%; } HTML & lt; Section class = "twelve column text-center" style = "background: transparent;" & Gt; & Lt; Div class = "menuimg" & gt; & Lt; Img src = "http://fabioide.com/frederiksminde/wp-content/uploads/2014/10/menu.jpg" & gt; & Lt; / Div & gt; & Lt; Div id = "navcontainer" & gt; & Lt ;? Php wp_nav_menu (array ('sort_column' = & gt; 'menu_order', 'container' = & gt; wrong, '...

java - Why does bulk load causes indexing on Couchbase Server? -

I am reading bulk data from a Couchbase bucket and putting this bulk data in another bucket. I'm using the CouchBase Java SDK 1.4.4 version. I am using the idea to read the entire data. I am using the set API to insert data. After putting all the data in the couchbase, I'm closing the CouchBase client. The data is inserted into the couchbase, but as soon as it is inserted, it starts indexing the data, which I can see from the sofa base web console. According to the sofa base documentation, when we read the figures, indexing should be started based on the STALE parameter. Another issue I have linked to, in my Java application console, it shows a lot of warnings that indexing has not been done. jvm 1 | Warning [Operation Future] The exception was thrown, which was running on com.couchbase.client.CouchbaseClient $ 15.operationComplete () jvm 1 | Java.lang.IllegalStateException: Closed jvm 1 | Net.spy.memcached.MemcachedClient.broadcastOp (MemcachedClient.java telugu98...

javascript - CKeditor Inline: repeats paragraph ids -

मैंने अनुमति दी है कॉन्फ़ेंट में सम्पत्ति संपत्ति config.allowedContent = "true" यह मुझे संवेदीयोग्य डिवीज के अंतर्गत पैराग्राफ में आईडी जोड़ने देता है। हालांकि, अब जब भी मैं कंटेटेक्टेबल डिवेल के अंदर कुंजी दर्ज करता हूं, एक ही आईडी के साथ एक नया पैराग्राफ उत्पन्न होता है। मुझे एट्रीटिंग में दर्ज करने के बाद मान लिया जाएगा कि किसी भी एड्स के बिना एक नया अनुच्छेद सम्मिलित किया जाना चाहिए, लेकिन ऐसा लगता है कि आईडी पहले से उत्पन्न पैराग्राफ से कॉपी की गई है। क्या इस से बचने का कोई तरीका है? इसे आज़माएं यह बुलेट सबूत नहीं है, लेकिन अच्छी तरह से पर्याप्त काम करता है यद्यपि मैंने इसे लिखा था, मैं इसे पसंद करता हूं, यदि आप उस पर सुधार करते हैं, तो कृपया प्रेम साझा करें;) editor.on ('key', function (evt) {// only अगर संपादक स्रोत मोड में नहीं है। यदि (editor.mode === 'source') {return;} // दर्ज करें कुंजीकोड 13 है अगर (evt.data.keyCode === 13) {// यदि हम getStartElement भी कहते हैं जल्द ही, हम गलत तत्व कभी-कभी सेट करें टाइमआउट (फ़ंक्शन () (var ...

c - what to do with page fault from copy_from_user()? -

मेरे पास निम्न सिस्टम कॉल है: लंबे do_print (int n, char * p) ) {चार टीएमपी [एन]; // आरेखित सरणी n बाइट्स इंट रेट = कॉपी_फ्रेम_यूसर (टीएमपी, पी, एन); If (! Ret) {// टीएमपी के साथ कुछ करना} रिटर्न रिट; } जो n & gt; 5000 के लिए गैर-शून्य मान देता है (मुझे पृष्ठ दोष की वजह से लगता है)। मैं कॉपी को सफल होने के लिए कैसे बाध्य कर सकता हूं? दूसरे शब्दों में, यदि मैं सिस्टम कॉल को शून्य-शून्य मान देता है तो मुझे क्या करना चाहिए? एक बड़ा आवंटन स्टैक पर सरणी आपको कुछ नहीं करना चाहिए, या वास्तव में ऐसा कर सकता है लिनक्स कर्नेल एक छोटे स्टैक के साथ चल रहा है, आमतौर पर 2 मेमोरी पेज। समान रूप से अधिक खतरनाक यह है कि अगर आपका चार टीएमपी [एन]; एक n पर निर्भर करता है जो कि यूजर स्पेस से आता है, उपयोगकर्ता को संभावित रूप से कर्नेल को क्रैश करने देता है ऐसी स्थिति में, आपको स्टैक पर बफर का उपयोग करने के बजाय स्मृति को गतिशील रूप से आवंटित करना होगा। यदि आप copy_from_user () विफल हो जाते हैं, तो उपयोगकर्ता ने झूठ बोला है कर्नेल, और कर्नेल में कुछ गड़बड़ा कर चुका है। इसे संभा...