Chainmax
24th March 2006, 19:35
I'd like to know if any of the filter developers here could create a filter for me. Its layout would be the following:
- A hardcoded palette of 16 colors (haven't determined them yet, but feedback is welcome).
- The filter would examine each pixel in a frame and compare its RGB or YUV values to the ones on the palette. The pixel would then change its values to the palette color that is closest (still deciding wether to simply use euclidean distance or a more refined algorithm).
It would have two optional parameters:
- After the frame has been altered, the boundary between zones of different colors could be colored with any of the colors from the palette and the boundary could be thickened.
- Applying HQ2X (http://www.hiend3d.com/hq2x.html) to the altered frame (if enabled, it would be used before the boundary coloring/thickening).
P.S: would it be possible to modify the HQnX algorithm to that of a general resizer? If not, could it be possible to at make HQ(1/2)X or HQ(1/4)X?
- A hardcoded palette of 16 colors (haven't determined them yet, but feedback is welcome).
- The filter would examine each pixel in a frame and compare its RGB or YUV values to the ones on the palette. The pixel would then change its values to the palette color that is closest (still deciding wether to simply use euclidean distance or a more refined algorithm).
It would have two optional parameters:
- After the frame has been altered, the boundary between zones of different colors could be colored with any of the colors from the palette and the boundary could be thickened.
- Applying HQ2X (http://www.hiend3d.com/hq2x.html) to the altered frame (if enabled, it would be used before the boundary coloring/thickening).
P.S: would it be possible to modify the HQnX algorithm to that of a general resizer? If not, could it be possible to at make HQ(1/2)X or HQ(1/4)X?