Need urgent help: TGA file read write and then Smoothing
-
@tampere2021 sagte in Need urgent help: TGA file read write and then Smoothing:
I cant use any 3rd party libraries here.
Could I ask Why?
Thats not really common in programming area, and it makes your "job" not easy.
In a real bussines environment it would not workable, at least not with this non trivial requirements.But yes, maybe its doable, but it would even a challange for an experienced developer. So it would take a lot of time ....
-
@RHBaum
Implementing a blur filter is pretty easy. Implementing one that creates good looking results is a little harder, but still not hard. I didn't look, but I'm sure there's plenty of material online about calculating the coefficients. Also for a blur filter, you can use almost any coefficients and it will look OK.What's really hard though, is implementing a blur filter that's efficient. As in not 10x or even 100x slower compared to a really fast implementation.
And the part about reading & writing TGA images should also not be a challenge for an experienced programmer. TGA is really simple compared to almost all other formats. (BMP is simple too, but only if you restrict it to a narrow subset of all possible BMP sub-formats.)
Could I ask Why?
Since he was asked repeatedly, and doesn't really want to answer, I'm pretty sure it's homework or something similar.
-
@hustbaer This is not a homework. im just trying out various image formats and manipulating them and apply algorithm to make them more efficient and optimize it as needed.
-
@tampere2021 sagte in Need urgent help: TGA file read write and then Smoothing:
@hustbaer This is not a homework. im just trying out various image formats and manipulating them and apply algorithm to make them more efficient and optimize it as needed.
Are you serious? Do you think you can do it better than those people who create dedicated libraries?
You are struggling with reading/writing TGA images and I doubt you´ll produce anything as good as freely available libraries.
-
@DocShoe I am able to read and write TGA images using std c++ libraries now.
-
@tampere2021 sagte in Need urgent help: TGA file read write and then Smoothing:
@hustbaer This is not a homework. im just trying out various image formats and manipulating them and apply algorithm to make them more efficient and optimize it as needed.
No, you're not, because you obviously have no idea what you're doing. Maybe that's what you want to do, or think you're doing. But no, you're certainly not optimizing anything or making anything more efficient.