So i making image from camera,via native API. The problem is that,i also have an algorithms to compute some stuff(with bitmap) and problem comes,when resolution is too high(for e.g. 3000x2500),because i need wait too much time.
So first what comes in my mind,its like a workaround:
- Convert from source bitmap to low-resolution(for e.g. 600x800).
- Work with this low-resolution bitmap(computing some stuff and calculate coords,that are located on this low-resolution bitmap).
- Get exact pixel coords and via some Math formula(that calculates width/heights or pixels?) put them into same place,but on source bitmap(with high resolution).
So how can i achieve this part? I think it's possible,but cant understand what exactly need to do.
Thanks!