English 中文(简体)
CGImageGetWidth 返回人数不同,实际形象
原标题:CGImageGetWidth returns different size then actual image

Hi i have a lot of image reading in my app and when I load the files i use CGImageGetWidth and CGImageGetHeight to get the sizes of the images.

然而,这似乎并没有在任何时候都恢复正确的价值。

例如,如果我有114x14人的图像,这些功能将退回126x22,或像这样的随机。

真正的奇怪部分是,它并没有发生从建筑到建筑的所有时间(变化),但往往发生在同一组图像上。

因此,我有某种不了解的编码错误,或者这些图像给他们带来了某些环境,使他们的处理方式不同。

任何人都知道可能产生这种行为?

增 编

最佳回答

检查图像的解决。 某些图像格式允许一种除标准72 ix外的其他东西的els子。

问题回答

暂无回答




相关问题
Resources for Image Recognition

I am looking for a recommendation for an introduction to image processing algorithms (face and shape recognition, etc.) and wondered if anyone had an good recommendations, either for books, ...

Good reference book for digital image processing? [closed]

I am learning digital image processing on my own and would like recomendations on good reference books. If you know of books to definately stay away from that would be useful as well. Thanks

Python Tesseract can t recognize this font

I have this image: I want to read it to a string using python, which I didn t think would be that hard. I came upon tesseract, and then a wrapper for python scripts using tesseract. So I started ...

What s the quickest way to parallelize code?

I have an image processing routine that I believe could be made very parallel very quickly. Each pixel needs to have roughly 2k operations done on it in a way that doesn t depend on the operations ...

Computing object statistics from the second central moments

I m currently working on writing a version of the MATLAB RegionProps function for GNU Octave. I have most of it implemented, but I m still struggling with the implementation of a few parts. I had ...

Viola-Jones face detection claims 180k features

I ve been implementing an adaptation of Viola-Jones face detection algorithm. The technique relies upon placing a subframe of 24x24 pixels within an image, and subsequently placing rectangular ...

热门标签