-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
I'm really interested in this project and would love to contribute and start closing some of the issues. To be honest, the code isn't very understandable, many variables don't have proper naming and I think that makes it difficult for new people who didn't initially write the code. Take this function for example:
Line 100 in 3ad6d36
void Image::computeResponseFunction(const Image & r) { |
uint16_t * usePixels = &data[-reldy*width - reldx];
const uint16_t * rUsePixels = &r.data[-relrdy*width - relrdx];
// some code...
double nv = rUsePixels[pos];
double v = usePixels[pos];
Maybe that's how C++ devs write their code, I'm not sure as I've never worked on a C++ project.
If what I'm saying makes sense and you agree with me, maybe we can do it bit by bit a function/method at a time by renaming variables and adding some more comments, specially for the mathematical components.
Metadata
Metadata
Assignees
Labels
No labels