<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>CharLS, a JPEG-LS library</title><link>http://charls.codeplex.com/project/feeds/rss</link><description>An optimized implementation of the JPEG-LS standard for lossless and near-lossless image compression. JPEG-LS is a low-complexity standard that matches JPEG 2000 compression ratios. In terms of speed, CharLS outperforms open source and commercial JPEG LS implementations. </description><item><title>Commented Issue: info.allowedlossyerror=1 fails [11721]</title><link>http://charls.codeplex.com/workitem/11721</link><description>Dear CharLS developer,&lt;br /&gt;&lt;br /&gt;if I compress&amp;#47;decompress the attached image with info.allowedlossyerror&amp;#61;1, there are red&amp;#47;blue spread pixels on dark areas at output.&lt;br /&gt;&lt;br /&gt;&amp;#40;modified test&amp;#47;util.cpp&amp;#47;TestRoundTrip and test&amp;#47;performance.cpp for testing&amp;#41;.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;pink_letter&lt;br /&gt;Comments: ** Comment from web user: awik ** &lt;p&gt;It seems that this kind of artificats is a normal thing when JPEG-LS works in lossy mode (allowedlossyerror &amp;lt;&amp;gt; 0).&lt;br&gt;The higher value of &amp;quot;allowedlossyerror&amp;quot; property (up to 9) the more visible are these specific artificats.&lt;/p&gt;</description><author>awik</author><pubDate>Thu, 25 Apr 2013 09:55:45 GMT</pubDate><guid isPermaLink="false">Commented Issue: info.allowedlossyerror=1 fails [11721] 20130425095545A</guid></item><item><title>Created Issue: info.allowedlossyerror=1 fails [11721]</title><link>http://charls.codeplex.com/workitem/11721</link><description>Dear CharLS developer,&lt;br /&gt;&lt;br /&gt;if I compress&amp;#47;decompress the attached image with info.allowedlossyerror&amp;#61;1, there are red&amp;#47;blue spread pixels on dark areas at output.&lt;br /&gt;&lt;br /&gt;&amp;#40;modified test&amp;#47;util.cpp&amp;#47;TestRoundTrip and test&amp;#47;performance.cpp for testing&amp;#41;.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;pink_letter&lt;br /&gt;</description><author>pink_letter</author><pubDate>Fri, 19 Apr 2013 16:03:58 GMT</pubDate><guid isPermaLink="false">Created Issue: info.allowedlossyerror=1 fails [11721] 20130419040358P</guid></item><item><title>Commented Issue: Uninitialised memory causing decode failure [11253]</title><link>http://charls.codeplex.com/workitem/11253</link><description>Hi,&lt;br /&gt;&lt;br /&gt;we recently stumbled upon an image which failed decoding with a message saying &amp;#38;quot&amp;#59;Codec does not support the image&amp;#39;s color transformation&amp;#38;quot&amp;#59; &amp;#40;This is charLS&amp;#39; error UnsupportedColorTransform&amp;#41;. Some printf-debugging figured out that the colorTransform was set to 0xCCCCCCCC. Some more debugging figured out that this was due to uninitialized memory.&lt;br /&gt;&lt;br /&gt;The attached patch makes JpegMarkerReader zero out its JlsParameters instance before using it. As far as I can tell, this is the only place were a JlsParameters instance is constructed without getting assigned values from elsewhere. At first, I wanted to add a suitable default constructor to JlsParameters, but since this is in interface.h, this isn&amp;#39;t possibly.&lt;br /&gt;&lt;br /&gt;Feel free to come up with a less ugly patch for this issue &amp;#40;and perhaps even a comment explaining why this is necessary&amp;#63;&amp;#41;.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Uli&lt;br /&gt;Comments: ** Comment from web user: psychon ** &lt;p&gt;This was seen with MSC6, so the compiler surely is not conformant.&lt;/p&gt;&lt;p&gt;According to [0], the default-initialisation rule was added in C++03, thus 5 years after MSC6 was released. So MSC6 can't really conform to that rule. :-)&lt;/p&gt;&lt;p&gt;[0]: http://stackoverflow.com/questions/4263904/c-pod-initialization-via-default-ctor &lt;/p&gt;</description><author>psychon</author><pubDate>Fri, 26 Oct 2012 14:31:48 GMT</pubDate><guid isPermaLink="false">Commented Issue: Uninitialised memory causing decode failure [11253] 20121026023148P</guid></item><item><title>Commented Issue: Uninitialised memory causing decode failure [11253]</title><link>http://charls.codeplex.com/workitem/11253</link><description>Hi,&lt;br /&gt;&lt;br /&gt;we recently stumbled upon an image which failed decoding with a message saying &amp;#38;quot&amp;#59;Codec does not support the image&amp;#39;s color transformation&amp;#38;quot&amp;#59; &amp;#40;This is charLS&amp;#39; error UnsupportedColorTransform&amp;#41;. Some printf-debugging figured out that the colorTransform was set to 0xCCCCCCCC. Some more debugging figured out that this was due to uninitialized memory.&lt;br /&gt;&lt;br /&gt;The attached patch makes JpegMarkerReader zero out its JlsParameters instance before using it. As far as I can tell, this is the only place were a JlsParameters instance is constructed without getting assigned values from elsewhere. At first, I wanted to add a suitable default constructor to JlsParameters, but since this is in interface.h, this isn&amp;#39;t possibly.&lt;br /&gt;&lt;br /&gt;Feel free to come up with a less ugly patch for this issue &amp;#40;and perhaps even a comment explaining why this is necessary&amp;#63;&amp;#41;.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Uli&lt;br /&gt;Comments: ** Comment from web user: jdv ** &lt;p&gt;Hi.&lt;/p&gt;&lt;p&gt;Sorry for being unresponsive. With what compiler are you seeing this? Either it is not conformant, or I am overlooking something.&lt;/p&gt;&lt;p&gt;the initializer list item &amp;quot; _info() &amp;quot; should default-initialize the variable _info. As this is a struct with no user defined constructor, it should apply the generated default constructor. This calls the default constructor for all members, which are all primitive types, and default-initializing them will boil down to zero-initialize. &lt;br&gt;&lt;/p&gt;</description><author>jdv</author><pubDate>Thu, 25 Oct 2012 21:09:15 GMT</pubDate><guid isPermaLink="false">Commented Issue: Uninitialised memory causing decode failure [11253] 20121025090915P</guid></item><item><title>New Post: Convert from Bitmap</title><link>http://charls.codeplex.com/discussions/282156</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Could you please add a C# sample of decoding .jls files into .bmp?&lt;/p&gt;&lt;/div&gt;</description><author>gioC</author><pubDate>Tue, 16 Oct 2012 05:22:31 GMT</pubDate><guid isPermaLink="false">New Post: Convert from Bitmap 20121016052231A</guid></item><item><title>New Post: Error at JPEGLSCodec.cs</title><link>http://charls.codeplex.com/discussions/399276</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Good day Sir, I'm using the CharLS_VS2010 and im trying to run it. I'm having errors at JPEGLSCodec.cs saying &amp;quot;Unable to load DLL 'CharLS.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What could be the possible problems, I've been working on this the whole day, It would really be appreciated if you answered.&lt;/p&gt;
&lt;/div&gt;</description><author>gioC</author><pubDate>Sun, 14 Oct 2012 11:31:33 GMT</pubDate><guid isPermaLink="false">New Post: Error at JPEGLSCodec.cs 20121014113133A</guid></item><item><title>Commented Issue: Uninitialised memory causing decode failure [11253]</title><link>http://charls.codeplex.com/workitem/11253</link><description>Hi,&lt;br /&gt;&lt;br /&gt;we recently stumbled upon an image which failed decoding with a message saying &amp;#38;quot&amp;#59;Codec does not support the image&amp;#39;s color transformation&amp;#38;quot&amp;#59; &amp;#40;This is charLS&amp;#39; error UnsupportedColorTransform&amp;#41;. Some printf-debugging figured out that the colorTransform was set to 0xCCCCCCCC. Some more debugging figured out that this was due to uninitialized memory.&lt;br /&gt;&lt;br /&gt;The attached patch makes JpegMarkerReader zero out its JlsParameters instance before using it. As far as I can tell, this is the only place were a JlsParameters instance is constructed without getting assigned values from elsewhere. At first, I wanted to add a suitable default constructor to JlsParameters, but since this is in interface.h, this isn&amp;#39;t possibly.&lt;br /&gt;&lt;br /&gt;Feel free to come up with a less ugly patch for this issue &amp;#40;and perhaps even a comment explaining why this is necessary&amp;#63;&amp;#41;.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Uli&lt;br /&gt;Comments: ** Comment from web user: awik ** &lt;p&gt;It seems that in CharLS 1.0 this patch should be applied in&lt;br&gt;JLSInputStream::JLSInputStream(const BYTE* pdata, size_t cbyteLength)&lt;br&gt;constructor body.&lt;/p&gt;</description><author>awik</author><pubDate>Fri, 12 Oct 2012 09:28:52 GMT</pubDate><guid isPermaLink="false">Commented Issue: Uninitialised memory causing decode failure [11253] 20121012092852A</guid></item><item><title>Created Issue: Redundant code in header.cpp (CharLS 1.0) [11258]</title><link>http://charls.codeplex.com/workitem/11258</link><description>In the function JLS_ERROR CheckParameterCoherent&amp;#40;const JlsParameters&amp;#42; pparams&amp;#41; below statements appear twice&amp;#58;&lt;br /&gt;&amp;#9;if &amp;#40;pparams-&amp;#38;gt&amp;#59;bitspersample &amp;#38;lt&amp;#59; 6 &amp;#124;&amp;#124; pparams-&amp;#38;gt&amp;#59;bitspersample &amp;#38;gt&amp;#59; 16&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;return ParameterValueNotSupported&amp;#59;&lt;br /&gt;</description><author>awik</author><pubDate>Thu, 11 Oct 2012 20:43:51 GMT</pubDate><guid isPermaLink="false">Created Issue: Redundant code in header.cpp (CharLS 1.0) [11258] 20121011084351P</guid></item><item><title>Created Issue: Uninitialised memory causing decode failure [11253]</title><link>http://charls.codeplex.com/workitem/11253</link><description>Hi,&lt;br /&gt;&lt;br /&gt;we recently stumbled upon an image which failed decoding with a message saying &amp;#38;quot&amp;#59;Codec does not support the image&amp;#39;s color transformation&amp;#38;quot&amp;#59; &amp;#40;This is charLS&amp;#39; error UnsupportedColorTransform&amp;#41;. Some printf-debugging figured out that the colorTransform was set to 0xCCCCCCCC. Some more debugging figured out that this was due to uninitialized memory.&lt;br /&gt;&lt;br /&gt;The attached patch makes JpegMarkerReader zero out its JlsParameters instance before using it. As far as I can tell, this is the only place were a JlsParameters instance is constructed without getting assigned values from elsewhere. At first, I wanted to add a suitable default constructor to JlsParameters, but since this is in interface.h, this isn&amp;#39;t possibly.&lt;br /&gt;&lt;br /&gt;Feel free to come up with a less ugly patch for this issue &amp;#40;and perhaps even a comment explaining why this is necessary&amp;#63;&amp;#41;.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Uli&lt;br /&gt;</description><author>psychon</author><pubDate>Tue, 09 Oct 2012 08:19:40 GMT</pubDate><guid isPermaLink="false">Created Issue: Uninitialised memory causing decode failure [11253] 20121009081940A</guid></item><item><title>New Post: I'm having a really hard time trying to use the JPEG-LS Library.</title><link>http://charls.codeplex.com/discussions/398285</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Good day, I'm a college student,&amp;nbsp; using the CharLS_VS2010 C# for academic studies. I'm having a hard time trying to use this library. Can anyone provide me with a comprehensible example? Where maybe I'll just provide a path, and when I run the program
 it will compress the image? Thank you. I plan to use lossless mode of compression on color digital photographs. I'm using windows 32-bit.&lt;/p&gt;
&lt;/div&gt;</description><author>gioC</author><pubDate>Sat, 06 Oct 2012 13:32:53 GMT</pubDate><guid isPermaLink="false">New Post: I'm having a really hard time trying to use the JPEG-LS Library. 20121006013253P</guid></item><item><title>Commented Issue: Hang when encoding 16-bit monochrome [11246]</title><link>http://charls.codeplex.com/workitem/11246</link><description>This error is very inconsistent -- most importantly it hangs mostly in Debug mode, but not in Release mode &amp;#40;makes it 90&amp;#37; of the time in Release&amp;#41;.  I&amp;#39;m probably just doing something wrong, please tell me what it is.&lt;br /&gt;&lt;br /&gt;The code is freezing at header.cpp&amp;#58;102, because _vecbyte.size&amp;#40;&amp;#41; is approximately 3e10&amp;#58;&lt;br /&gt;     &lt;br /&gt;      pstream-&amp;#38;gt&amp;#59;WriteBytes&amp;#40;_vecbyte&amp;#41;&amp;#59;&amp;#9;&lt;br /&gt;&lt;br /&gt;The main.cpp and .txt file it reads is attached.  Please tell me if I&amp;#39;m doing something wrong, or if 16-bit monochrome requires some different mode of operation I&amp;#39;m not seeing from the documentation.&lt;br /&gt;Comments: ** Comment from web user: etotheipi ** &lt;p&gt;Sorry, I couldn't figure out how to swap attachments.  The first main.cpp was an older version I copied by accident from the wrong location.  The second main.cpp is the correct one.  On my system, it runs in release, but hangs in debug.&lt;/p&gt;</description><author>etotheipi</author><pubDate>Fri, 05 Oct 2012 03:33:37 GMT</pubDate><guid isPermaLink="false">Commented Issue: Hang when encoding 16-bit monochrome [11246] 20121005033337A</guid></item><item><title>Created Issue: Hang when encoding 16-bit monochrome [11246]</title><link>http://charls.codeplex.com/workitem/11246</link><description>This error is very inconsistent -- most importantly it hangs mostly in Debug mode, but not in Release mode &amp;#40;makes it 90&amp;#37; of the time in Release&amp;#41;.  I&amp;#39;m probably just doing something wrong, please tell me what it is.&lt;br /&gt;&lt;br /&gt;The code is freezing at header.cpp&amp;#58;102, because _vecbyte.size&amp;#40;&amp;#41; is approximately 3e10&amp;#58;&lt;br /&gt;     &lt;br /&gt;      pstream-&amp;#38;gt&amp;#59;WriteBytes&amp;#40;_vecbyte&amp;#41;&amp;#59;&amp;#9;&lt;br /&gt;&lt;br /&gt;I put the following in a main.cpp file and executed it on emptyfpa.txt.  &lt;br /&gt;&lt;br /&gt;--------------------------------------&lt;br /&gt;int main&amp;#40;void&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;   ifstream is&amp;#40;&amp;#38;quot&amp;#59;emptyfpa.txt&amp;#38;quot&amp;#59;, ios&amp;#58;&amp;#58;in&amp;#41;&amp;#59;&lt;br /&gt;   unsigned short &amp;#42; imgUncompr &amp;#61; new unsigned short&amp;#91;512&amp;#42;512&amp;#93;&amp;#59;&lt;br /&gt;&lt;br /&gt;   const int w &amp;#61; 512&amp;#59;&lt;br /&gt;   const int h &amp;#61; 512&amp;#59;&lt;br /&gt;   const int bps &amp;#61; sizeof&amp;#40;unsigned short&amp;#41;&amp;#59;&lt;br /&gt;   const int imgBytes &amp;#61; w &amp;#42; h &amp;#42; bps&amp;#59;&lt;br /&gt;&lt;br /&gt;   int unpack&amp;#59;&lt;br /&gt;&lt;br /&gt;   for&amp;#40;int r&amp;#61;0&amp;#59; r&amp;#38;gt&amp;#59; unpack&amp;#59;&lt;br /&gt;         imgUncompr&amp;#91;r&amp;#42;512&amp;#43;c&amp;#93; &amp;#61; &amp;#40;unsigned short&amp;#41;unpack&amp;#59;&lt;br /&gt;      &amp;#125;&lt;br /&gt;   &amp;#125;&lt;br /&gt;&lt;br /&gt;   JlsParameters img_info&amp;#59;&lt;br /&gt;   img_info.width  &amp;#61; w&amp;#59;&lt;br /&gt;   img_info.height &amp;#61; h&amp;#59;&lt;br /&gt;   img_info.bitspersample &amp;#61; 8&amp;#42;bps&amp;#59;&lt;br /&gt;   img_info.bytesperline &amp;#61; bps&amp;#42;w&amp;#59;&lt;br /&gt;   img_info.components &amp;#61; 1&amp;#59;&lt;br /&gt;   img_info.allowedlossyerror &amp;#61; 0&amp;#59;&lt;br /&gt;   img_info.ilv &amp;#61; ILV_NONE&amp;#59;&lt;br /&gt;   img_info.colorTransform &amp;#61; 0&amp;#59;&lt;br /&gt;   img_info.outputBgr &amp;#61; 0&amp;#59;&lt;br /&gt;&lt;br /&gt;   BYTE&amp;#42; imgCompr &amp;#61; new BYTE&amp;#91;imgBytes&amp;#93;&amp;#59;&lt;br /&gt;   size_t comprBytes&amp;#59;&lt;br /&gt;&lt;br /&gt;   JLS_ERROR errCode &amp;#61; JpegLsEncode&amp;#40;&amp;#40;void&amp;#42;&amp;#41;imgCompr, imgBytes,    &lt;br /&gt;                                    &amp;#38;amp&amp;#59;comprBytes,                  &lt;br /&gt;                                    &amp;#40;void&amp;#42;&amp;#41;imgUncompr, imgBytes,&lt;br /&gt;                                    &amp;#38;amp&amp;#59;img_info &amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;   cout &amp;#38;lt&amp;#59;&amp;#38;lt&amp;#59; &amp;#38;quot&amp;#59;Error Code&amp;#58; &amp;#38;quot&amp;#59; &amp;#38;lt&amp;#59;&amp;#38;lt&amp;#59; errCode &amp;#38;lt&amp;#59;&amp;#38;lt&amp;#59; endl&amp;#59;&lt;br /&gt;   if&amp;#40;errCode&amp;#33;&amp;#61;OK&amp;#41;&lt;br /&gt;   &amp;#123;&lt;br /&gt;      cout &amp;#38;lt&amp;#59;&amp;#38;lt&amp;#59; &amp;#38;quot&amp;#59;Encoding failed&amp;#58;  Error code &amp;#38;quot&amp;#59; &amp;#38;lt&amp;#59;&amp;#38;lt&amp;#59; &amp;#40;int&amp;#41;errCode &amp;#38;lt&amp;#59;&amp;#38;lt&amp;#59; endl&amp;#59;&lt;br /&gt;      exit&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;   &amp;#125;&lt;br /&gt;&lt;br /&gt;   cout &amp;#38;lt&amp;#59;&amp;#38;lt&amp;#59; &amp;#38;quot&amp;#59;Compressed image is &amp;#38;quot&amp;#59; &amp;#38;lt&amp;#59;&amp;#38;lt&amp;#59; comprBytes &amp;#38;lt&amp;#59;&amp;#38;lt&amp;#59; &amp;#38;quot&amp;#59; bytes&amp;#38;quot&amp;#59; &amp;#38;lt&amp;#59;&amp;#38;lt&amp;#59; endl&amp;#59;&lt;br /&gt;   return 0&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;--------------------------------------&lt;br /&gt;</description><author>etotheipi</author><pubDate>Fri, 05 Oct 2012 03:21:43 GMT</pubDate><guid isPermaLink="false">Created Issue: Hang when encoding 16-bit monochrome [11246] 20121005032143A</guid></item><item><title>Source code checked in, #79962</title><link>http://charls.codeplex.com/SourceControl/changeset/changes/79962</link><description>Upgrade&amp;#58; New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link&amp;#58; http&amp;#58;&amp;#47;&amp;#47;go.microsoft.com&amp;#47;fwlink&amp;#47;&amp;#63;LinkId&amp;#61;254563</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:14:48 GMT</pubDate><guid isPermaLink="false">Source code checked in, #79962 20121001091448P</guid></item><item><title>Source code checked in, #79961</title><link>http://charls.codeplex.com/SourceControl/changeset/changes/79961</link><description>Checked in by server upgrade</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:08:39 GMT</pubDate><guid isPermaLink="false">Source code checked in, #79961 20121001090839P</guid></item><item><title>New Post: DClunies and DICOM samples, fragment headers</title><link>http://charls.codeplex.com/discussions/395685</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have managed to extract the JPEG-LS things from DClunies sample files. The bad part is, that they cant be decoded. (Even real dicoms incoming from CTs have a similar issue)&lt;/p&gt;
&lt;p&gt;Please, have a look at those files (in the link) and tell me what am I doing wrong, if you have any idea. I will appreciate it very much.&lt;/p&gt;
&lt;p&gt;Anyway Iam, too, interested in jpeg-ls decoding, so I have sent a mail to dclunie (Attached below). As soon as he responses, i will post his answer too.&lt;/p&gt;
&lt;p&gt;(BTW I saw a similar problem about fragmented headers here, so Iam posting the link to the extracted dclunies files for you too. If my dicom extractor is OK, I can help you too - feel free to send me another dicom samples to khajj@seznam.cz, i will extract
 the fragment headers for you)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Link to 2shared:&lt;/p&gt;
&lt;p&gt;http://www.2shared.com/file/Y_7zx3t1/JPEGLSTESTS.html&lt;/p&gt;
&lt;p&gt;Copy of mail to DClunie:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hello,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;i was studying your site for JPEG-LS decoding of DICOM images for work to school. Thank you for resources.&lt;/div&gt;
&lt;div&gt;But I have a problem - after extracting jpeg-ls raw data from DICOM images (like removing the fragment headers) by a proper dicom parser, i send the JPEG-LS coded images through 2 decoders - CharLS and &amp;quot;original HP loco code&amp;quot;.&lt;/div&gt;
&lt;div&gt;The problem is, that every sample image (excluding &amp;quot;mr1&amp;quot;) threw an error (like premature end of file, failed assertion on an constant etc) on both implementations (charLS,loco).&lt;/div&gt;
&lt;div&gt;I would like to make an functional jpeg-ls decoder.&lt;/div&gt;
&lt;div&gt;Can you please check, if I extracted the data right? (probably yes, thats the reason why mr1 succeeded)&lt;/div&gt;
&lt;div&gt;What JPEG-LS decoder do you personally use? (Can you send me the code please?)&lt;/div&gt;
&lt;div&gt;Attached link to 2shared, in the zip file there are included&lt;/div&gt;
&lt;div&gt;1) original dicom images (yours)&lt;/div&gt;
&lt;div&gt;2) extracted pure jpeg-ls data (named after serie name&amp;#43;.bin) - I would be gratefull, if you check them against your original images, maybe the error.&lt;/div&gt;
&lt;div&gt;3) mr1out.bin result after completing loco code&lt;/div&gt;
&lt;div&gt;4) my sample project of loco code in BCB5 (that is not currently downloadable by the way)&lt;/div&gt;
&lt;div&gt;Thank you wery much,&lt;/div&gt;
&lt;div&gt;Martin Holecek&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>khajj</author><pubDate>Sat, 15 Sep 2012 21:58:23 GMT</pubDate><guid isPermaLink="false">New Post: DClunies and DICOM samples, fragment headers 20120915095823P</guid></item><item><title>Source code checked in, #79227</title><link>http://charls.codeplex.com/SourceControl/changeset/changes/79227</link><description>Updated for Visual Studio 2012 RTM</description><author>vbaderks</author><pubDate>Tue, 28 Aug 2012 21:32:09 GMT</pubDate><guid isPermaLink="false">Source code checked in, #79227 20120828093209P</guid></item><item><title>New Post: JPEG-LS video codec required</title><link>http://charls.codeplex.com/discussions/362910</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;&lt;span&gt;I need the creation of a video codec.&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span&gt;INPUT: 12-bit greyscale video at up to 35fps 1920x1080 resolution&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span&gt;COMPRESSION - Lossless or mild compression&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span&gt;TECHNOLOGY TO BE USED: JPEG LS&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span&gt;WRAPPER: Should use standard FourCC protocols and compatible with AVI wrapper.&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span&gt;SPECIAL: Will require spatial transform on the data prior to compression.&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span&gt;VARIABLES: pixel dimensions of incoming video&lt;/span&gt;&lt;br&gt;
&lt;span&gt;lossless/amount of acceptable loss&lt;/span&gt;&lt;br&gt;
&lt;span&gt;four spatial transform options&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;span&gt;SPEED REQUIREMENTS: Must encode in real time&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span&gt;PLATFORM: PC - Windows 7 - Must be 64-bit compatible.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyone interested?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Paul Spurrier&lt;/p&gt;
&lt;p&gt;paul@paulspurrier.com&lt;/p&gt;
&lt;/div&gt;</description><author>ranma500</author><pubDate>Thu, 12 Jul 2012 04:33:54 GMT</pubDate><guid isPermaLink="false">New Post: JPEG-LS video codec required 20120712043354A</guid></item><item><title>Commented Issue: Failed assertion in EncodeStrategy [10742]</title><link>http://charls.codeplex.com/workitem/10742</link><description>Hi,&lt;br /&gt;&lt;br /&gt;we received a bug report for the copy of CharLS that is part of the DCMTK&amp;#58;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;forum.dcmtk.org&amp;#47;viewtopic.php&amp;#63;f&amp;#61;1&amp;#38;t&amp;#61;3412&lt;br /&gt;&lt;br /&gt;I took a look at this file and I think that this is indeed a bug in CharLS.&lt;br /&gt;&lt;br /&gt;The attached patch creates an EncoderStrategy instance and writes bits to it. This triggers the same assertion as the original test image. &amp;#40;Ignore my changes to encoderstrategy.h, that&amp;#39;s just the debug output that I looked at for figuring this out&amp;#41;&amp;#58;&lt;br /&gt;&lt;br /&gt;encoderstrategy.h&amp;#58;95&amp;#58; void EncoderStrategy&amp;#58;&amp;#58;AppendToBitStream&amp;#40;LONG, LONG&amp;#41;&amp;#58; Assertion &amp;#96;bitpos &amp;#62;&amp;#61;0&amp;#39; failed.&lt;br /&gt;&lt;br /&gt;My analsysis of what is going on is part of the patch, so be sure to read the comments. &amp;#58;-&amp;#41;&lt;br /&gt;&lt;br /&gt;I tried to come up with a patch that fixes this. This is the following part of the diff&amp;#58;&lt;br /&gt;&lt;br /&gt;-&amp;#9;&amp;#9;if &amp;#40;bitpos &amp;#62;&amp;#61; 0&amp;#41;&lt;br /&gt;&amp;#43;&amp;#9;&amp;#9;if &amp;#40;bitpos &amp;#62; 0&amp;#41;&lt;br /&gt;&lt;br /&gt;The idea here is that when 32 bits of input were read, we can Flush&amp;#40;&amp;#41;.&lt;br /&gt;&lt;br /&gt;This should even fix a similar issue, where we have bitpos &amp;#61;&amp;#61; 1 and add 31 input bits, so one bit gets added to valcurrent. If Flush&amp;#40;&amp;#41; only writes out 30 bits, all the 30 bits of input left can go into the buffer.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Uli&lt;br /&gt;Comments: ** Comment from web user: MarcoNeoL ** &lt;p&gt;Hi.&lt;/p&gt;&lt;p&gt;as you certainly know, ASSERTs are disabled in Visual Studio when the &amp;#34;NDEBUG&amp;#34; symbol is defined, which is normally the case for &amp;#34;Release&amp;#34; builds.&lt;/p&gt;&lt;p&gt;Nevertheless, in our specific case we built OFFIS DCMTK &amp;#40;embedding CharLS&amp;#41; starting from OFFIS v3.6.0 CMake files, and for some reason our &amp;#34;Release&amp;#34; build of OFFIS DCMTK did NOT have the &amp;#34;NDEBUG&amp;#34; symbol defined. Not sure if this depended on some &amp;#34;peculiarities&amp;#34; of the makefiles...&lt;/p&gt;&lt;p&gt;Hence, we were having ASSERTs &amp;#40;which related aborts&amp;#41; also in Release mode.&lt;/p&gt;&lt;p&gt;Best regards,&lt;/p&gt;&lt;p&gt;Marco&lt;br /&gt;&lt;/p&gt;</description><author>MarcoNeoL</author><pubDate>Mon, 14 May 2012 15:00:32 GMT</pubDate><guid isPermaLink="false">Commented Issue: Failed assertion in EncodeStrategy [10742] 20120514030032P</guid></item><item><title>Commented Issue: Failed assertion in EncodeStrategy [10742]</title><link>http://charls.codeplex.com/workitem/10742</link><description>Hi,&lt;br /&gt;&lt;br /&gt;we received a bug report for the copy of CharLS that is part of the DCMTK&amp;#58;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;forum.dcmtk.org&amp;#47;viewtopic.php&amp;#63;f&amp;#61;1&amp;#38;t&amp;#61;3412&lt;br /&gt;&lt;br /&gt;I took a look at this file and I think that this is indeed a bug in CharLS.&lt;br /&gt;&lt;br /&gt;The attached patch creates an EncoderStrategy instance and writes bits to it. This triggers the same assertion as the original test image. &amp;#40;Ignore my changes to encoderstrategy.h, that&amp;#39;s just the debug output that I looked at for figuring this out&amp;#41;&amp;#58;&lt;br /&gt;&lt;br /&gt;encoderstrategy.h&amp;#58;95&amp;#58; void EncoderStrategy&amp;#58;&amp;#58;AppendToBitStream&amp;#40;LONG, LONG&amp;#41;&amp;#58; Assertion &amp;#96;bitpos &amp;#62;&amp;#61;0&amp;#39; failed.&lt;br /&gt;&lt;br /&gt;My analsysis of what is going on is part of the patch, so be sure to read the comments. &amp;#58;-&amp;#41;&lt;br /&gt;&lt;br /&gt;I tried to come up with a patch that fixes this. This is the following part of the diff&amp;#58;&lt;br /&gt;&lt;br /&gt;-&amp;#9;&amp;#9;if &amp;#40;bitpos &amp;#62;&amp;#61; 0&amp;#41;&lt;br /&gt;&amp;#43;&amp;#9;&amp;#9;if &amp;#40;bitpos &amp;#62; 0&amp;#41;&lt;br /&gt;&lt;br /&gt;The idea here is that when 32 bits of input were read, we can Flush&amp;#40;&amp;#41;.&lt;br /&gt;&lt;br /&gt;This should even fix a similar issue, where we have bitpos &amp;#61;&amp;#61; 1 and add 31 input bits, so one bit gets added to valcurrent. If Flush&amp;#40;&amp;#41; only writes out 30 bits, all the 30 bits of input left can go into the buffer.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Uli&lt;br /&gt;Comments: ** Comment from web user: jdv ** &lt;p&gt;&lt;br /&gt;re decodability&amp;#58; When compiling with Visual Studio, all ASSERT&amp;#40;&amp;#41;s are removed in release mode. &lt;/p&gt;&lt;p&gt;I thought it also worked that way for the cmake based build. Will check that later.&lt;/p&gt;</description><author>jdv</author><pubDate>Mon, 14 May 2012 14:14:57 GMT</pubDate><guid isPermaLink="false">Commented Issue: Failed assertion in EncodeStrategy [10742] 20120514021457P</guid></item><item><title>Commented Issue: Failed assertion in EncodeStrategy [10742]</title><link>http://charls.codeplex.com/workitem/10742</link><description>Hi,&lt;br /&gt;&lt;br /&gt;we received a bug report for the copy of CharLS that is part of the DCMTK&amp;#58;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;forum.dcmtk.org&amp;#47;viewtopic.php&amp;#63;f&amp;#61;1&amp;#38;t&amp;#61;3412&lt;br /&gt;&lt;br /&gt;I took a look at this file and I think that this is indeed a bug in CharLS.&lt;br /&gt;&lt;br /&gt;The attached patch creates an EncoderStrategy instance and writes bits to it. This triggers the same assertion as the original test image. &amp;#40;Ignore my changes to encoderstrategy.h, that&amp;#39;s just the debug output that I looked at for figuring this out&amp;#41;&amp;#58;&lt;br /&gt;&lt;br /&gt;encoderstrategy.h&amp;#58;95&amp;#58; void EncoderStrategy&amp;#58;&amp;#58;AppendToBitStream&amp;#40;LONG, LONG&amp;#41;&amp;#58; Assertion &amp;#96;bitpos &amp;#62;&amp;#61;0&amp;#39; failed.&lt;br /&gt;&lt;br /&gt;My analsysis of what is going on is part of the patch, so be sure to read the comments. &amp;#58;-&amp;#41;&lt;br /&gt;&lt;br /&gt;I tried to come up with a patch that fixes this. This is the following part of the diff&amp;#58;&lt;br /&gt;&lt;br /&gt;-&amp;#9;&amp;#9;if &amp;#40;bitpos &amp;#62;&amp;#61; 0&amp;#41;&lt;br /&gt;&amp;#43;&amp;#9;&amp;#9;if &amp;#40;bitpos &amp;#62; 0&amp;#41;&lt;br /&gt;&lt;br /&gt;The idea here is that when 32 bits of input were read, we can Flush&amp;#40;&amp;#41;.&lt;br /&gt;&lt;br /&gt;This should even fix a similar issue, where we have bitpos &amp;#61;&amp;#61; 1 and add 31 input bits, so one bit gets added to valcurrent. If Flush&amp;#40;&amp;#41; only writes out 30 bits, all the 30 bits of input left can go into the buffer.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Uli&lt;br /&gt;Comments: ** Comment from web user: MarcoNeoL ** &lt;p&gt;Hi Jan,&lt;/p&gt;&lt;p&gt;with reference to your sentence&amp;#58;&lt;/p&gt;&lt;p&gt;&amp;#60;&amp;#60; The funny thing is I got a similar bug report earlier this week. &amp;#62;&amp;#62;,&lt;/p&gt;&lt;p&gt;I think this is actually the same test case&amp;#33;&lt;br /&gt;In fact, we reported the issue both to you and on the DCMTK forum.&lt;/p&gt;&lt;p&gt;What we do not know &amp;#40;and DCMTK developers certainly know better&amp;#41; is if&amp;#47;where the CharLS embedded into DCMTK is different from the &amp;#34;standard&amp;#34; CharLS.&lt;/p&gt;&lt;p&gt;If we can help further somehow, please let us know.&lt;br /&gt;Thanks,&lt;/p&gt;&lt;p&gt;Marco&lt;br /&gt;&lt;/p&gt;</description><author>MarcoNeoL</author><pubDate>Mon, 14 May 2012 08:27:24 GMT</pubDate><guid isPermaLink="false">Commented Issue: Failed assertion in EncodeStrategy [10742] 20120514082724A</guid></item></channel></rss>