如何查找或检测模糊图像和模糊图像

问题描述 投票:0回答:1

如何找到给定的位图图像是android中的模糊图像还是非模糊图像,因此我附上了我的代码,请帮助我。

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {

    super.onActivityResult(requestCode, resultCode, data);
    Bitmap bitmap;
    if (resultCode == Activity.RESULT_OK) {

        ImageView imageView = (ImageView) findViewById(R.id.imageView);

        if (getPickImageResultUri(data) != null) {
            picUri = getPickImageResultUri(data);

            ByteArrayOutputStream stream = new ByteArrayOutputStream();
            Glide.with(this)
                    .load(picUri)
                    .centerCrop()
                    .into(imageView);


        }

    }

}
android opencv bitmap blur
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.