benlyyan / MGT

5 stars 4 forks source link

mgvideoadjust - column/row for contrast adjustment #19

Closed krisny closed 8 years ago

krisny commented 8 years ago

I really like that mgvideoadjust provides the possibility to adjust separately for RGB colors. However, when used only with a single value for lo_in hi_in and lo_out hi_out, it would be nice if the user could choose whether to input as row- or column vectors. E.g. this: mgvideoadjust(d,[.4; .6],[0; 1]) and this: mgvideoadjust(d,[.4, .6],[0, 1]) would be the same.

benlyyan commented 8 years ago

I think it should be the same in both cases. The function does not care the row or colum

benlyyan commented 8 years ago

Sorry, the first one should be correct. The second one works wrong.

benlyyan commented 8 years ago

Now it works in both cases. It does not care row or column