Search found 1945 matches

by NicolasRobidoux
2014-06-06T12:13:21-07:00
Forum: Users
Topic: Sigmoidized Ginseng (pronounced "Jinc-Sinc") resampling
Replies: 134
Views: 196903

Re: Sigmoidized Ginseng (pronounced "Jinc-Sinc") resampling

One thing I am curious about but have had no time to experiment with is whether such "clamping" is better done in linear light or in perceptual spaces. Generally, upsampling (enlarging) through a perceptual space is better than linear light, at least when the filter has negative lobes. Whe...
by NicolasRobidoux
2014-06-06T10:45:23-07:00
Forum: Users
Topic: Sigmoidized Ginseng (pronounced "Jinc-Sinc") resampling
Replies: 134
Views: 196903

Re: Sigmoidized Ginseng (pronounced "Jinc-Sinc") resampling

This approach is reasonable and a bit reminiscent of what is done in the LBB component of the nohalo sampler (in the GEGL and VIPS FLOSS libraries; just google nohalo image sampler). ----- Instead of (min-d,max+d), what I would do is blend (lerp) the unclamped result with the clamped result. I would...
by NicolasRobidoux
2014-06-06T10:09:54-07:00
Forum: Users
Topic: Sigmoidized Ginseng (pronounced "Jinc-Sinc") resampling
Replies: 134
Views: 196903

Re: Sigmoidized Ginseng (pronounced "Jinc-Sinc") resampling

I find the "texturelessness" unnatural. I personally would tone down the anti-ringing (not eliminate it: just turn it down).
Otherwise, it's an interesting approach. Good job!
(My apologies for a very cursory evaluation. No time for more.)
by NicolasRobidoux
2014-06-06T09:50:18-07:00
Forum: Users
Topic: Sigmoidized Ginseng (pronounced "Jinc-Sinc") resampling
Replies: 134
Views: 196903

Re: Sigmoidized Ginseng (pronounced "Jinc-Sinc") resampling

Your set up definitely has a very particular "look".
Are you sure that all you do is use linear filtering with your modified weights?
by NicolasRobidoux
2014-06-05T12:08:48-07:00
Forum: Users
Topic: Downsampling through XYZ better than through linear RGB?
Replies: 4
Views: 6231

Re: Downsampling through XYZ better than through linear RGB?

Thank you for your answers Anthony and Alan. Note: All the evidence I've seen points to downsampling through linear light being generally better when using a linear resampling method (like most of IM's are). I have not tested this enough to be 100% sure, but close. (Unfortunately, I have little time...
by NicolasRobidoux
2014-06-05T12:02:09-07:00
Forum: Users
Topic: Downsampling through XYZ better than through linear RGB?
Replies: 4
Views: 6231

Re: Downsampling through XYZ better than through linear RGB?

I just remembered that because linear light spaces are, at least in principle, mapped to one another through an affine transformation, provided there is no clamping or other nonlinearity in the intermediate steps it should make no difference which one is used when using linear resampling. (Note that...
by NicolasRobidoux
2014-06-03T06:07:51-07:00
Forum: Users
Topic: Downsampling through XYZ better than through linear RGB?
Replies: 4
Views: 6231

Downsampling through XYZ better than through linear RGB?

Anthony, many places, has stated that one good thing about resampling through Lab is that it has a luma/luminance channel. This, actually, makes a lot of sense. Now, it is fairly well established that downsampling (reducing the pixel size of an image, that is, "shrinking it" as in producin...
by NicolasRobidoux
2014-06-01T03:57:46-07:00
Forum: Users
Topic: convert - downscaling comic pages
Replies: 82
Views: 123665

Re: convert - downscaling comic pages

With line or pixel art, downsampling through Lab may actually be an excellent choice (untested: off the top of my head). Rationale: It has a luma channel, and if the line art is mostly made with dark lines, the "dark" bias that one gets going through perceptual may help keeping dark lines ...
by NicolasRobidoux
2014-05-30T01:24:29-07:00
Forum: Users
Topic: convert - downscaling comic pages
Replies: 82
Views: 123665

Re: convert - downscaling comic pages

It would be nice if someone took the time to do a comparison like http://www.imagemagick.org/discourse-server/viewtopic.php?f=22&t=21804 but downsampling line art instead of upsampling. (Tensor) Lanczos -filter Lanczos -resize , EWA Robidoux -distort Resize or the above mentioned EWA LanczosShar...
by NicolasRobidoux
2014-05-28T00:38:51-07:00
Forum: Users
Topic: convert - downscaling comic pages
Replies: 82
Views: 123665

Re: convert - downscaling comic pages

When dealing with line art, there is one good reason to use Lab (or L*a*b*): There is a luma/luminance channel. When downsampling, however, it is >>generally<< preferable to use linear light. A good way to get both a color space with a luma/luminance channel and linear light is resampling through XY...
by NicolasRobidoux
2014-05-25T01:26:48-07:00
Forum: Users
Topic: convert - downscaling comic pages
Replies: 82
Views: 123665

Re: convert - downscaling comic pages

P.S. RE: last comment:
This is what the boldface text in http://www.imagemagick.org/Usage/resize/#resize hints at.
by NicolasRobidoux
2014-05-25T01:26:42-07:00
Forum: Users
Topic: convert - downscaling comic pages
Replies: 82
Views: 123665

Re: convert - downscaling comic pages

Another good start: http://www.imagemagick.org/Usage/resize/#thin_lines . A bit more info RE: http://www.imagemagick.org/Usage/filter/nicolas/#downsample . With line art, the "downsample through linear light" diktat may or may not be relevant. Downsampling through Lab, which normally I wou...
by NicolasRobidoux
2014-05-25T00:47:22-07:00
Forum: Users
Topic: convert - downscaling comic pages
Replies: 82
Views: 123665

Re: convert - downscaling comic pages

If I understand correctly, what Steve wants to do is resize, mostly, line art (not pixel art, line art). My general recommendations for downsampling (linked above by Fred) consequently may or may not "hit the spot". Although I can make some educated guesses, this falls outside of what I ha...
by NicolasRobidoux
2014-04-02T14:30:10-07:00
Forum: Digital Image Processing
Topic: BC-splines with 2C+B=1 are optimal for EWA resampling
Replies: 41
Views: 146573

Re: BC-splines with 2C+B=1 are optimal for EWA resampling

The above RobidouxSharp comes from minimizing the worst case deviation from the original value when the original value is one of the two extremes (0 and 255 in typical 8 bit). An alternate way is to minimize the worst case deviation when the original value is the average of the largest and smallest...