将图像从块转换为原始大小

时间:2017-12-20 14:40:57

标签: python image python-3.x numpy

您好我上传了一张256 * 256的图片,并按照以下步骤转换为8个8块。

Unexpected error occurred invoking async method 'public void updateRecords(java.lang.Long)'
...
org.springframework.dao.CannotAcquireLockException: could not execute statement; SQL [n/a]; nested exception is org.hibernate.exception.LockAcquisitionException: could not execute statement
...
Caused by: org.hibernate.exception.LockAcquisitionException: could not execute statement
...
com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 65) was deadlocked on lock resources with another process and has been chosen as the deadlock victim.

所以,如果有人可以帮我解释这段代码的反转,我会感激不尽,这样我就可以将我的图像从(8 * 8)块恢复到原来的块(256 * 256)

注意:我的图片的新尺寸是Window(1024,64),我需要转换回(256,256)。

0 个答案:

没有答案