私のアプリケーションはasp.net MVC3です。現在、画像ハンドラーを使用して DCIOM MPR 画像を表示し、次を使用してセッションに画像を保存できます。
objImage = im.Bitmap(outputSize, System.Drawing.Imaging.PixelFormat.Format24bppRgb, m);
context.Response.ContentType = "image/png";
objImage.Save(context.Response.OutputStream,
System.Drawing.Imaging.ImageFormat.Png);
正常に動作しますが、画像を回転させると応答が非常に遅くなります!! 以下を使用して、DICOM MPRをセッション変数としてコントローラーに保存しようとしています。
............
DicomImageMPR mpr1 = new DicomImageMPR(volume);
mpr1.SetViewPlane(new Point3D(), new Vector3D(0, 1, 0), new Vector3D(0, 0, -1));
mpr1.Interpolation = InterpolationType3D.Trilinear;
MySession.Current.mpr1 = mpr1;
私の質問は、画像をビューバッグに入れてビューに表示する方法です。ご提案をお待ちしております。よろしくお願いいたします。