如何纠正平面jpe图像上的方格网线条不规则变形
一个10cm*10cm的图形,在用照相机拍摄后的图像上四条边框成了任意四边形,内部1cm*1cm的小方格也随着变形了。<br/>如何将图像纠正成原来的10cm*10cm的图形,内部也成1cm*1cm的方格。<br/> 图像纠正还真没做过:)<br/>不过你最好贴图详细说明下<br/> 如何在程序中得到CAD中插入的光栅图像啊?只有获得图像数据,才能通过图像处理算法来纠正图像。 <p>可以看下RasterImageDef类的OpenImage函数</p><p>开发文档的解释</p><p class="Element10">Returns the associated image data object for writing. (See ATIL documentation for information about the Atil.Image class.) Each call to OpenImage must eventually be followed by a call to RasterImageDef.CloseImage(). </p><p class="Element10">This function is intended for use by raster editing application developers for image modification operations only. (Use RasterImageDef.ImageCopy() for read-only access to the image data.) The image returned by this function is the image being displayed. Any modifications to that image will appear the next time the image is redrawn. A copy of the image is automatically saved for Undo. </p><p class="Element10">You may call OpenImage, then close the RasterImageDef object without calling CloseImage. This is called a "long term write lock." You can modify the image data at will while you hold the Atil.Image pointer. Any changes made in the image data appear the next time the image entities are redrawn. The write lock should not be held so long as to interfere with other user commands such as Image Reload, Unload and Detach.</p> lzh741206发表于2009-9-23 15:58:00static/image/common/back.gif可以看下RasterImageDef类的OpenImage函数开发文档的解释Returns the associated image data object for writing. (See ATIL documentation for information about the Atil.Image class.) Eac<p>我的英文太差,无法与您相比。谢谢了!</p> <p>其中提到See ATIL documentation for information about the Atil.Image class。</p><p>ATIL documentation 在哪儿呀,帮助里找不到啊。</p><p>我用的CAD2008中并没有实现RasterImageDef类的OpenImage函数,2010中才有。</p>
页:
[1]