请教个问题,我做图像缩放,用双线性插值,结果缩放后的图像边缘有明显的锯齿,请问一下这个锯齿该怎么消除下,有关键字或者方向提示也行。
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/shop/widgets/widgets-product.php:652 Stack trace: #0 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/csf-framework/classes/widget-options.class.php(676): zib_shop_widget_ui_oneline_product_lists() #1 /www/wwwroot/chipdebug.com/wp-includes/class-wp-widget.php(394): CSF_Widget->widget() #2 /www/wwwroot/chipdebug.com/wp-includes/widgets.php(847): WP_Widget->display_callback() #3 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/bbs/inc/template.php(42): dynamic_sidebar() #4 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/bbs/page/posts.php(36): zib_bbs_page_template() #5 /www/wwwroot/chipdebug.com/wp-includes/template.php(880): require_once('...') #6 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/bbs/inc/class.init.php(426): load_template() #7 /www/wwwroot/chipdebug.com/wp-includes/class-wp-hook.php(353): zib_bbs->template_redirect() #8 /www/wwwroot/chipdebug.com/wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters() #9 /www/wwwroot/chipdebug.com/wp-includes/plugin.php(523): WP_Hook->do_action() #10 /www/wwwroot/chipdebug.com/wp-includes/template-loader.php(23): do_action() #11 /www/wwwroot/chipdebug.com/wp-blog-header.php(19): require_once('...') #12 /www/wwwroot/chipdebug.com/index.php(17): require('...') #13 {main} thrown in /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/shop/widgets/widgets-product.php on line 652


用SuperResolution方法应该会好点。
双线性算法本身就有这个问题,用双立方可能会好很多。
@shawn 有sdram,我的缓存资源不够,除非,降帧, 我用的XO3 6900,1600x800的分辨率
那资源是比较紧张了,还不如用ECP3-17或者是ECP5-25,价格估计都差不多,如果量不会很小的话
@popomao 一般都要加sdram或者ddr的,
@pipisan 是的。 如果资源有限,对图像质量要求不高的话可以
问题是,图像是实时的,双立方的话,貌似要至少缓存4行吧
我感觉双线性算法已经不能满足现在日益增长的需求了!
找找direction-adaptive edge-directed之类的插值方式